From: Ole André Vadla Ravnås Date: Sat, 28 Mar 2009 23:47:42 +0000 (+0100) Subject: Only define _WIN32_WINNT if not already defined. (cherry picked from commit 98bb07181... X-Git-Tag: dbus-1.3.1~225 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3da5a03a9e5f8f60e53f40300837f833c39c80e;p=platform%2Fupstream%2Fdbus.git Only define _WIN32_WINNT if not already defined. (cherry picked from commit 98bb071819ab9f886317627b6688876f40ed694e) --- diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index ab71981..ade8044 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -31,8 +31,10 @@ #define STRSAFE_NO_DEPRECATE #ifndef DBUS_WINCE +#ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0501 #endif +#endif #include "dbus-internals.h" #include "dbus-sysdeps.h"