- catch up on a couple of DOS bits
- fix a copy-and-paste error on hack.c function
This commit is contained in:
nethack.allison
2006-07-09 22:17:57 +00:00
parent 999424aecc
commit 00768fce8b
4 changed files with 9 additions and 5 deletions

View File

@@ -314,7 +314,7 @@
#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

View File

@@ -32,7 +32,7 @@ unsigned ui;
anything *
long_to_any(lng)
unsigned lng;
long lng;
{
tmp_anything = zeroany;
tmp_anything.a_long = lng;

View File

@@ -1,4 +1,4 @@
/* 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. */
/*
@@ -1153,7 +1153,7 @@ int chr,col,color;
egawriteplane(15);
}
# endif POSITIONBAR
# endif /*POSITIONBAR*/
# ifdef SIMULATE_CURSOR

View File

@@ -1,4 +1,4 @@
/* 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. */
@@ -6,7 +6,11 @@
#include "hack.h"
#include "dlb.h"
#ifdef SHORT_FILENAMES
#include "patchlev.h"
#else
#include "patchlevel.h"
#endif
#ifndef NO_SIGNAL
#include <signal.h>