pike.git/
src/
global.h
Branch:
Tag:
Non-build tags
All tags
No tags
2009-05-27
2009-05-27 17:48:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>
b3f7ab1d77edf6366f87c8926f3db125f5853e5d (
19
lines) (+
13
/-
6
)
[
Show
|
Annotate
]
Branch:
7.9
Bumped the WIN32 APIs from 5.0 to 6.0.
Rev: src/configure.in:1.1079
Rev: src/global.h:1.117
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: global.h,v 1.
116
2009/
03
/
19
11
:
46
:
28
grubba Exp $
+
|| $Id: global.h,v 1.
117
2009/
05
/
27
17
:
48
:
29
grubba Exp $
*/ #ifndef GLOBAL_H
45:
#define WIN32 100 /* WinNT 1.0 */ #endif
-
/* We want WinNT
5
.0 API's if available. */
-
#if !defined(_WIN32_WINDOWS) || (_WIN32_WINDOWS <
0x500
)
+
/* We want WinNT
6
.0 API's if available. */
+
#if !defined(_WIN32_WINDOWS) || (_WIN32_WINDOWS <
0x600
)
#undef _WIN32_WINDOWS
-
#define _WIN32_WINDOWS
0x0500
+
#define _WIN32_WINDOWS
0x0600
#endif
-
#if !defined(_WIN32_WINNT) || (_WIN32_WINNT <
0x500
)
+
#if !defined(_WIN32_WINNT) || (_WIN32_WINNT <
0x600
)
#undef _WIN32_WINNT
-
#define _WIN32_WINNT
0x0500
+
#define _WIN32_WINNT
0x0600
#endif
-
+
/* In later versions of the WIN32 SDKs, we also need to define this one. */
+
#if !defined(NTDDI_VERSION) || (NTDDI_VERSION < 0x06000000)
+
#undef NTDDI_VERSION
+
#define NTDDI_VERSION 0x06000000
+
#endif
+
#endif /* __NT__ */ #ifdef __amigaos__