aboutsummaryrefslogtreecommitdiffstats
path: root/cmakeconfig.h.in
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-10-18 22:20:36 +0000
committerEvan Huus <eapache@gmail.com>2012-10-18 22:20:36 +0000
commit97f5e101d99c1b6e7fdb2a4320e83ce7d20a3d7f (patch)
tree94ca4cec36dd262157fc146efe928efa369c1f6f /cmakeconfig.h.in
parent11aa25f668e88a121f7e299e7137a206a40d3178 (diff)
Fix CMake build:
- add some new files to CMakeLists - we do need _U_ for C++ now that we're sharing some headers between C and C++. svn path=/trunk/; revision=45650
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r--cmakeconfig.h.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index f8cd1cd0c5..1a0cfb18d3 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -391,8 +391,5 @@
#cmakedefine YYTEXT_POINTER
/* _U_ isn't needed for C++, simply don't name the variable.
- Also, running moc with -D_U_... breaks cmake's auto escaping magic. */
-#ifndef __cplusplus
-# define _U_ ${C_UNUSED}
-#endif
-
+ However, we do need it for some headers that are shared between C and C++. */
+#define _U_ ${C_UNUSED}