]> git.lyx.org Git - features.git/commitdiff
adjust macro to '#if' tests
authorPeter Kümmel <syntheticpp@gmx.net>
Sun, 15 May 2011 20:56:11 +0000 (20:56 +0000)
committerPeter Kümmel <syntheticpp@gmx.net>
Sun, 15 May 2011 20:56:11 +0000 (20:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38772 a592a061-630c-0410-9148-cb99ea01b6c8

intl/libgnuintl.h.cmake

index a1fc7e057b6fe611da8eef96cb9a871dccf3038f..86042d28b55a862639cc96e5774252a325359afb 100644 (file)
 #ifndef _LIBINTL_H
 #define _LIBINTL_H     1
 
-#include "config.h"
+// already defined in config.h but not with 0/1 values
+#undef HAVE_POSIX_PRINTF
+#undef HAVE_ASPRINTF
+#undef HAVE_WPRINTF
+#cmakedefine01 HAVE_POSIX_PRINTF
+#cmakedefine01 HAVE_ASPRINTF
+#cmakedefine01 HAVE_WPRINTF
 
 #include <locale.h>