source:
mainline/uspace/lib/c/include/rtld/rtld_debug.h@
9bfa8c8
| Last change on this file since 9bfa8c8 was d7f7a4a, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 464 bytes | |
| Rev | Line | |
|---|---|---|
| [143932e3] | 1 | /* |
| [d7f7a4a] | 2 | * SPDX-FileCopyrightText: 2011 Jiri Svoboda |
| [143932e3] | 3 | * |
| [d7f7a4a] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
| [143932e3] | 5 | */ |
| 6 | ||
| [8a1fb09] | 7 | /** @addtogroup libc |
| [143932e3] | 8 | * @{ |
| 9 | */ | |
| [a6dffb8] | 10 | /** @file |
| [143932e3] | 11 | */ |
| 12 | ||
| [4805495] | 13 | #ifndef _LIBC_RTLD_RTLD_DEBUG_H_ |
| 14 | #define _LIBC_RTLD_RTLD_DEBUG_H_ | |
| [143932e3] | 15 | |
| [17341d4] | 16 | #include <stdio.h> |
| 17 | ||
| [a6dffb8] | 18 | /* Define to enable debugging mode. */ |
| 19 | #undef RTLD_DEBUG | |
| 20 | ||
| 21 | #ifdef RTLD_DEBUG | |
| [5b0cf63] | 22 | #define DPRINTF(format, ...) printf(format, ##__VA_ARGS__) |
| [a6dffb8] | 23 | #else |
| [5b0cf63] | 24 | #define DPRINTF(format, ...) if (0) printf(format, ##__VA_ARGS__) |
| [a6dffb8] | 25 | #endif |
| [143932e3] | 26 | |
| 27 | #endif | |
| 28 | ||
| 29 | /** @} | |
| 30 | */ |
Note:
See TracBrowser
for help on using the repository browser.
