diff --git a/src/report.c b/src/report.c index 75d2c1c64..77a06fe82 100644 --- a/src/report.c +++ b/src/report.c @@ -1,4 +1,4 @@ -/* NetHack 3.7 report.c $NHDT-Date: 1710106611 2024/03/10 21:36:51 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.5 $ */ +/* NetHack 3.7 report.c $NHDT-Date: 1710949744 2024/03/20 15:49:04 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.7 $ */ /* Copyright (c) Kenneth Lorber, Kensington, Maryland, 2024 */ /* NetHack may be freely redistributed. See license for details. */ @@ -45,7 +45,7 @@ # define HASH_CLEANUP(ctxp) # define HASH_OFLAGS O_RDONLY # define HASH_BINFILE_DECL char *binfile = argv[0]; -# ifdef BETA +# if (NH_DEVEL_STATUS == NH_STATUS_BETA) # define HASH_BINFILE \ if (!binfile || !*binfile) { \ /* If this triggers, investigate CFBundleGetMainBundle */ \ diff --git a/sys/windows/windsys.c b/sys/windows/windsys.c index f446019b5..0634796b5 100644 --- a/sys/windows/windsys.c +++ b/sys/windows/windsys.c @@ -1,4 +1,4 @@ -/* NetHack 3.7 windsys.c $NHDT-Date: 1596498321 2020/08/03 23:45:21 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.64 $ */ +/* NetHack 3.7 windsys.c $NHDT-Date: 1710949760 2024/03/20 15:49:20 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.95 $ */ /* Copyright (c) NetHack PC Development Team 1993, 1994 */ /* NetHack may be freely redistributed. See license for details. */ @@ -885,7 +885,7 @@ win32_cr_helper(char cmd, struct CRctxt *ctxp, void *p, int d){ DWORD rv = GetModuleFileNameA(NULL, binfile, sizeof(binfile)); if (rv == 0 || rv == sizeof(binfile)) return 1; -#ifdef BETA +#if (NH_DEVEL_STATUS == NH_STATUS_BETA) printf("FILE '%s'\n", binfile); #endif *(unsigned char **) p = (unsigned char *) binfile;