aboutsummaryrefslogtreecommitdiff
path: root/libobjc/objc-private/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libobjc/objc-private/common.h')
-rw-r--r--libobjc/objc-private/common.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/libobjc/objc-private/common.h b/libobjc/objc-private/common.h
index 1642faa..cbb335b 100644
--- a/libobjc/objc-private/common.h
+++ b/libobjc/objc-private/common.h
@@ -26,13 +26,17 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define __objc_private_common_INCLUDE_GNU
/* This file contains definitions that should be included by all .c
- and .m files in libobjc.
-*/
+ and .m files in libobjc. */
/* This variable allows the public headers to determine when they are
being included by a file inside libobjc itself, or when they are
- being included by an external file.
-*/
+ being included by an external file. */
#define GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF 1
+#ifdef DEBUG
+#define DEBUG_PRINTF(format, args...) printf (format, ## args)
+#else
+#define DEBUG_PRINTF(format, args...)
+#endif
+
#endif /* __objc_private_common_INCLUDE_GNU */