mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-25 10:30:10 +01:00
Move definition of _WIN32_WCE to configure.in (cmake defines it already).
This commit is contained in:
parent
3222b64d4a
commit
7490c60b77
2 changed files with 2 additions and 1 deletions
|
|
@ -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])
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue