mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 13:13:08 +08:00
Handler ZDI preprocessor
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1632 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+11
-3
@@ -86,10 +86,18 @@
|
||||
* Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_DEBUG
|
||||
# define message(...) lib_lowprintf(__VA_ARGS__)
|
||||
#ifdef CONFIG_CPP_HAVE_VARARGS
|
||||
# ifdef CONFIG_DEBUG
|
||||
# define message(...) lib_lowprintf(__VA_ARGS__)
|
||||
# else
|
||||
# define message(...) printf(__VA_ARGS__)
|
||||
# endif
|
||||
#else
|
||||
# define message(...) printf(__VA_ARGS__)
|
||||
# ifdef CONFIG_DEBUG
|
||||
# define message lib_lowprintf
|
||||
# else
|
||||
# define message (void)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user