From: Marcus Brinkmann Date: Wed, 21 Apr 2010 12:25:29 +0000 (+0200) Subject: Move definition of _WIN32_WCE to configure.in (cmake defines it already). X-Git-Tag: dbus-1.3.1~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7490c60b7701e3cf55a51b8f65d18d2f292f70b5;p=thirdparty%2Fdbus.git Move definition of _WIN32_WCE to configure.in (cmake defines it already). --- diff --git a/configure.in b/configure.in index 4bc50e7a2..484e6aea1 100644 --- a/configure.in +++ b/configure.in @@ -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]) diff --git a/dbus/dbus-sysdeps-wince-glue.h b/dbus/dbus-sysdeps-wince-glue.h index 3391be9e8..7a6462b2e 100644 --- a/dbus/dbus-sysdeps-wince-glue.h +++ b/dbus/dbus-sysdeps-wince-glue.h @@ -28,7 +28,7 @@ #include #include -/* For getaddrinfo. */ +/* For getaddrinfo, configure/cmake defined _WIN32_WCE to something >= 0x0401. */ #include #undef interface