Move definition of _WIN32_WCE to configure.in (cmake defines it already).
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Wed, 21 Apr 2010 12:25:29 +0000 (14:25 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Fri, 7 May 2010 09:31:40 +0000 (11:31 +0200)
configure.in
dbus/dbus-sysdeps-wince-glue.h

index 4bc50e7..484e6ae 100644 (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])
index 3391be9..7a6462b 100644 (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