diff options
author | Bernard Normier <bernard@zeroc.com> | 2003-08-25 22:38:49 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2003-08-25 22:38:49 +0000 |
commit | ffa73bc9b34867a8c99ca2e2a7cd8cb178481e56 (patch) | |
tree | 8b0559b8530fc9a81a8dcdead48912216c8941c3 /php/src | |
parent | bug fix (diff) | |
download | ice-ffa73bc9b34867a8c99ca2e2a7cd8cb178481e56.tar.bz2 ice-ffa73bc9b34867a8c99ca2e2a7cd8cb178481e56.tar.xz ice-ffa73bc9b34867a8c99ca2e2a7cd8cb178481e56.zip |
Fixed compilation with VC7.1
Diffstat (limited to 'php/src')
-rw-r--r-- | php/src/ice/ice_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/php/src/ice/ice_common.h b/php/src/ice/ice_common.h index 7fac9812880..68b09c77f35 100644 --- a/php/src/ice/ice_common.h +++ b/php/src/ice/ice_common.h @@ -15,6 +15,12 @@ #ifndef ICE_PHP_ICE_COMMON_H #define ICE_PHP_ICE_COMMON_H +#ifdef _WIN32 + // Necessary for TryEnterCriticalSection. +# define _WIN32_WINNT 0x0400 +# include <winsock2.h> +#endif + #include <Ice/Ice.h> #ifdef WIN32 |