- catch up on a couple of DOS bits
- fix a copy-and-paste error on hack.c function
#define FILENAME_CMP stricmp /* case insensitive */
#endif
-#ifdef MSC7_WARN /* define with cl /DMSC7_WARN */
+#if defined(_MSC_VER) && (_MSC_VER >= 7)
#pragma warning(disable:4131)
#endif
anything *
long_to_any(lng)
-unsigned lng;
+long lng;
{
tmp_anything = zeroany;
tmp_anything.a_long = lng;
-/* SCCS Id: @(#)vidvga.c 3.5 1996/02/16 */
+/* SCCS Id: @(#)vidvga.c 3.5 2006/07/08 */
/* Copyright (c) NetHack PC Development Team 1995 */
/* NetHack may be freely redistributed. See license for details. */
/*
egawriteplane(15);
}
-# endif POSITIONBAR
+# endif /*POSITIONBAR*/
# ifdef SIMULATE_CURSOR
-/* SCCS Id: @(#)pcmain.c 3.5 2006/04/01 */
+/* SCCS Id: @(#)pcmain.c 3.5 2006/07/08 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "dlb.h"
+#ifdef SHORT_FILENAMES
+#include "patchlev.h"
+#else
#include "patchlevel.h"
+#endif
#ifndef NO_SIGNAL
#include <signal.h>