OSDN Git Service

upgrade to 3.6.1
[jnethack/source.git] / sys / winnt / win32api.h
1 /* NetHack 3.6  win32api.h      $NHDT-Date: 1432516197 2015/05/25 01:09:57 $  $NHDT-Branch: master $:$NHDT-Revision: 1.11 $ */
2 /* Copyright (c) NetHack PC Development Team 1996                 */
3 /* NetHack may be freely redistributed.  See license for details. */
4
5 /*
6  * This header file is used to clear up some discrepencies with Visual C
7  * header files & NetHack before including windows.h, so all NetHack
8  * files should include "win32api.h" rather than <windows.h>.
9  */
10 #if defined(_MSC_VER)
11 #undef strcmpi
12 #undef min
13 #undef max
14 #pragma warning(disable : 4142) /* Warning, Benign redefinition of type */
15 #pragma pack(8)
16 #endif
17
18 #define WIN32_LEAN_AND_MEAN
19
20 #undef Protection /* We have a global name space collision.  No source file
21                      using win32api.h should be using the Protection macro
22                      from youprop.h.
23                      A better fix would be to ensure we include all window
24                      header files before we start clobbering the global name
25                      space with NetHack specific macros. */
26
27 #include <windows.h>
28 #include <commctrl.h>
29
30 #if defined(_MSC_VER)
31 #pragma pack()
32 #endif
33
34 /*win32api.h*/