diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-27 00:39:44 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-27 00:39:44 +0000 |
commit | 167dd7fd7c3d9d08455fa84e126dafd71989cb90 (patch) | |
tree | 790185fa9cc40caa61c80b7b01eecc5fc1af71a7 /pjlib | |
parent | 887750106a0999aca4638c31d01ffa89eb3d4a74 (diff) |
Fixed warning about _WIN32_WINNT redefined when compiled on Mingw
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@239 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib')
-rw-r--r-- | pjlib/include/pj/compat/os_win32.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pjlib/include/pj/compat/os_win32.h b/pjlib/include/pj/compat/os_win32.h index 8e4c7ab9..2a617640 100644 --- a/pjlib/include/pj/compat/os_win32.h +++ b/pjlib/include/pj/compat/os_win32.h @@ -28,7 +28,9 @@ #define WIN32_LEAN_AND_MEAN #define PJ_WIN32_WINNT 0x0400 -#define _WIN32_WINNT PJ_WIN32_WINNT +#ifndef _WIN32_WINNT +# define _WIN32_WINNT PJ_WIN32_WINNT +#endif #define PJ_HAS_ARPA_INET_H 0 #define PJ_HAS_ASSERT_H 1 |