adjust macro to '#if' tests

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38772 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2011-05-15 20:56:11 +00:00
parent 7675bde02c
commit 07d1d82f49

View File

@ -19,7 +19,13 @@
#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>