X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=winconfig.h;h=0c690d3a35c4213b0746b82955c88b44bbb4f0e0;hb=74f1bd23d2fb6922a5eb3cc81afcc01a3a75f024;hp=427e21f35a88bd246c81c8002f86f50d5d079253;hpb=21f79f8d6e420dc967127c35c00a375f5d10346e;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 */