win32api.h

Go to the documentation of this file.
00001 /*      SCCS Id: @(#)win32api.h  3.4     $Date: 2002/07/24 08:25:21 $             */
00002 /* Copyright (c) NetHack PC Development Team 1996                 */
00003 /* NetHack may be freely redistributed.  See license for details. */
00004 
00005 /*
00006  * This header file is used to clear up some discrepencies with Visual C
00007  * header files & NetHack before including windows.h, so all NetHack
00008  * files should include "win32api.h" rather than <windows.h>.
00009  */
00010 # if defined(_MSC_VER)
00011 # undef strcmpi
00012 # undef min
00013 # undef max
00014 # pragma warning(disable:4142)  /* Warning, Benign redefinition of type */
00015 # pragma pack(8)
00016 # endif
00017 
00018 #define WIN32_LEAN_AND_MEAN
00019 
00020 #include <windows.h>
00021 #include <commctrl.h>
00022 
00023 # if defined(_MSC_VER)
00024 # pragma pack()
00025 # endif
00026 
00027 /*win32api.h*/