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. */
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>.
14 #pragma warning(disable : 4142) /* Warning, Benign redefinition of type */
18 #define WIN32_LEAN_AND_MEAN
20 #undef Protection /* We have a global name space collision. No source file
21 using win32api.h should be using the Protection macro
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. */