Move definition of _WIN32_WCE to configure.in (cmake defines it already).

This commit is contained in:
Marcus Brinkmann 2010-04-21 14:25:29 +02:00 committed by Ralf Habacker
parent 3222b64d4a
commit 7490c60b77
2 changed files with 2 additions and 1 deletions

View file

@ -100,6 +100,7 @@ if test "$dbus_win" = yes; then
fi
if test "$dbus_wince" = yes; then
AC_DEFINE(DBUS_WINCE,1,[Defined if we run on a W32 CE API based system])
AC_DEFINE(_WIN32_WCE, 0x0502, [Defined to get newer W32 CE APIs])
fi
else
AC_DEFINE(DBUS_UNIX,1,[Defined if we run on a Unix-based system])

View file

@ -28,7 +28,7 @@
#include <time.h>
#include <stdarg.h>
/* For getaddrinfo. */
/* For getaddrinfo, configure/cmake defined _WIN32_WCE to something >= 0x0401. */
#include <windows.h>
#undef interface