outdated vs Unix 'make depend'

After the most recent round of moving old stuff to 'outdated',
src/windows.c contained two references to non-existent files.
That broke 'make depend'.  Updating it to turn those two into
comments seems risky because someone might add an include for
some new interface later in the file.  So comment them out in
the source instead.  Also, redo previous 'make depend' update
from about three weeks ago to do the same thing.
This commit is contained in:
PatR
2021-01-31 13:05:32 -08:00
parent 28f89ae3b2
commit 0b1f5ea45e
4 changed files with 10 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
/* NetHack 3.7 global.h $NHDT-Date: 1610146765 2021/01/08 22:59:25 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.118 $ */
/* NetHack 3.7 global.h $NHDT-Date: 1612127119 2021/01/31 21:05:19 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.120 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Michael Allison, 2006. */
/* NetHack may be freely redistributed. See license for details. */
@@ -165,19 +165,10 @@ extern struct cross_target_s cross_target;
#include "ntconf.h"
#endif
/*
* Note: placing this before amiconf.h is to avoid complications for
* 'make depend' after amiconf.h got moved to the outdated/ sub-tree.
* Inclusion really belongs somewhere after the define for SHORT_FILENAMES
* below, and for that we either need to resurrect amiconf.h or supply
* an empty stub for it in include/amiconf.h.
*/
#include "fnamesiz.h" /* file sizes shared between nethack and recover */
/* amiconf.h needs to be the last nested #include of config.h because
'make depend' will turn it into a comment, hiding anything after it */
#ifdef AMIGA
#include "amiconf.h"
/*#include "amiconf.h"*/
#endif
/* Displayable name of this port; don't redefine if defined in *conf.h */
@@ -235,6 +226,8 @@ extern struct cross_target_s cross_target;
#endif
#endif
#include "fnamesiz.h" /* file sizes shared between nethack and recover */
#ifdef VMS
/* vms_exit() (sys/vms/vmsmisc.c) expects the non-VMS EXIT_xxx values below.
* these definitions allow all systems to be treated uniformly, provided