X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=winconfig.h;h=0c690d3a35c4213b0746b82955c88b44bbb4f0e0;hb=d84d1a94a06dc8c8585cdf360f8ad5fe4c5866cf;hp=427e21f35a88bd246c81c8002f86f50d5d079253;hpb=b9afa882093e6c112faa386ab205f90a056866db;p=mono.git diff --git a/winconfig.h b/winconfig.h index 427e21f35a8..0c690d3a35c 100644 --- a/winconfig.h +++ b/winconfig.h @@ -12,6 +12,14 @@ #error Unknown architecture #endif +#if _WIN32_WINNT < 0x0502 +/* Required for Vectored Exception Handling. + Interlocked* functions are also not available in XP SP1 and below +*/ +#undef _WIN32_WINNT +#define _WIN32_WINNT 0x0502 +#endif /* _WIN32_WINNT < 0x0502 */ + /* * Features that are not required in the Windows port */ @@ -557,9 +565,6 @@ /* Enable the allocation and indexing of arrays greater than Int32.MaxValue */ /* #undef MONO_BIG_ARRAYS */ -/* Sizeof sock_un.sun_path */ -/* #undef MONO_SIZEOF_SUNPATH */ - /* Xen-specific behaviour */ /* #define MONO_XEN_OPT 1 */