From: jwalz Date: Sat, 5 Jan 2002 21:06:00 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: MOVE2GIT~3639 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f57c02b292c3b05200e27a8298b054bef1ac557e;p=nethack *** empty log message *** --- diff --git a/sys/winnt/win32api.h b/sys/winnt/win32api.h new file mode 100644 index 000000000..fa5a11a82 --- /dev/null +++ b/sys/winnt/win32api.h @@ -0,0 +1,27 @@ +/* SCCS Id: @(#)win32api.h 3.3 96/02/15 */ +/* Copyright (c) NetHack PC Development Team 1996 */ +/* NetHack may be freely redistributed. See license for details. */ + +/* + * This header file is used to clear up some discrepencies with Visual C + * header files & NetHack before including windows.h, so all NetHack + * files should include "win32api.h" rather than . + */ +# if defined(_MSC_VER) +# undef strcmpi +# undef min +# undef max +# pragma warning(disable:4142) /* Warning, Benign redefinition of type */ +# pragma pack(8) +# endif + +#define WIN32_LEAN_AND_MEAN + +#include +#include + +# if defined(_MSC_VER) +# pragma pack() +# endif + +/*win32api.h*/