pike.git/
src/
global.h
Branch:
Tag:
Non-build tags
All tags
No tags
2003-05-02
2003-05-02 12:55:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>
b401a5f46ccfe86cfcc1ce67a8782fdc55c0f6a4 (
10
lines) (+
9
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
We need to define WIN32 ourselves now that we define WIN32_LEAN_AND_MEAN.
Rev: src/global.h:1.92
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.
91
2003/05/
01
15
:
59
:
19
grubba Exp $
+
|| $Id: global.h,v 1.
92
2003/05/
02
12
:
55
:
29
grubba Exp $
*/ #ifndef GLOBAL_H
31:
#define _GNU_SOURCE #endif /* !_GNU_SOURCE */
+
#ifdef __NT__
/* To get <windows.h> to stop including the entire OS, * we need to define this one. */
38:
#define WIN32_LEAN_AND_MEAN #endif
+
/* We also need to ensure that we get the WIN32 APIs. */
+
#ifndef WIN32
+
#define WIN32 100 /* WinNT 1.0 */
+
#endif
+
#endif /* __NT__ */
+
/* * We want to use __builtin functions. */