X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=winconfig.h;h=c62da8be3d16f3ee304781ff6a4cdfb400252787;hb=aea6a11123514b46d88db1436a86d5c76e233a51;hp=0bcf0a410cc0e3c62999925284b59a74eaa8dc4d;hpb=f7d406b777ca8de619375180ad29a984e0b20a96;p=mono.git diff --git a/winconfig.h b/winconfig.h index 0bcf0a410cc..c62da8be3d1 100644 --- a/winconfig.h +++ b/winconfig.h @@ -1,5 +1,39 @@ /* config.h. Generated by configure. */ /* config.h.in. Generated from configure.in by autoheader. */ + +/* Version macros for Windows SDK headers */ +#ifdef _WIN64 +#ifdef _M_IA64 +/* Windows XP 64-bit Edition (Itanium) is the first release that is based on Windows XP */ +#define WINVER 0x0501 +#define _WIN32_WINNT 0x0501 +/* Includes Internet Explorer 6.0 */ +#define _WIN32_IE 0x0600 +#else /* !_M_IA64 */ +/* Windows XP Professional x64 Edition is the first release that is based on Windows Server 2003 SP1 */ +#define WINVER 0x0502 +#define _WIN32_WINNT 0x0502 +/* Includes Internet Explorer 6.0 SP2 */ +#define _WIN32_IE 0x0603 +#endif /* _M_IA64 */ +#else /* !_WIN64 */ +/* Windows 2000 is required */ +#define WINVER 0x0500 +#define _WIN32_WINNT 0x0500 +/* Includes Internet Explorer 5.01 */ +#define _WIN32_IE 0x0501 +#endif /* _WIN64 */ + +#ifndef _UNICODE +#define _UNICODE +#endif +#ifndef UNICODE +#define UNICODE +#endif + +#define WIN32_THREADS +#define FD_SETSIZE 1024 + /* #undef HAVE_INET_PTON */ /* #undef HAVE_INET_ATON */ /* #undef HAVE_MSG_NOSIGNAL */ @@ -40,7 +74,15 @@ /* #undef HAVE_WORKING_SIGALTSTACK */ /* The architecture this is running on */ +#if defined(_M_IA64) +#define ARCHITECTURE "ia64" +#elif defined(_M_AMD64) +#define ARCHITECTURE "amd64" +#elif defined(_M_IX86) #define ARCHITECTURE "x86" +#else +#error Unknown architecture +#endif /* String of disabled features */ #define DISABLED_FEATURES "none" @@ -148,7 +190,9 @@ /* #undef HAVE_GETGRNAM_R */ /* Define to 1 if you have the `GetProcessId' function. */ -/* #undef HAVE_GETPROCESSID */ +#if (_WIN32_WINNT >= 0x0502) +#define HAVE_GETPROCESSID 1 +#endif /* Define to 1 if you have the `getpwnam_r' function. */ /* #undef HAVE_GETPWNAM_R */ @@ -345,6 +389,9 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_UN_H */ +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_UTIME_H 1 + /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_VFSTAB_H */ @@ -370,10 +417,10 @@ /* #undef HAVE_TTYNAME_R */ /* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 +/* #undef HAVE_UNISTD_H */ /* Define to 1 if you have the header file. */ -#define HAVE_UTIME_H 1 +/* #undef HAVE_UTIME_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_VALGRIND_MEMCHECK_H */ @@ -427,7 +474,11 @@ /* #undef SIZEOF_SIZE_T */ /* The size of a `void *', as computed by sizeof. */ +#ifdef _WIN64 +#define SIZEOF_VOID_P 8 +#else #define SIZEOF_VOID_P 4 +#endif /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 @@ -436,4 +487,4 @@ #define USED_GC_NAME "Included Boehm (with typed GC)" /* Version number of package */ -#define VERSION "1.2" +#define VERSION "1.9"