remove use of obsolete BETA macro
This commit is contained in:
@@ -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 */
|
/* Copyright (c) Kenneth Lorber, Kensington, Maryland, 2024 */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
# define HASH_CLEANUP(ctxp)
|
# define HASH_CLEANUP(ctxp)
|
||||||
# define HASH_OFLAGS O_RDONLY
|
# define HASH_OFLAGS O_RDONLY
|
||||||
# define HASH_BINFILE_DECL char *binfile = argv[0];
|
# define HASH_BINFILE_DECL char *binfile = argv[0];
|
||||||
# ifdef BETA
|
# if (NH_DEVEL_STATUS == NH_STATUS_BETA)
|
||||||
# define HASH_BINFILE \
|
# define HASH_BINFILE \
|
||||||
if (!binfile || !*binfile) { \
|
if (!binfile || !*binfile) { \
|
||||||
/* If this triggers, investigate CFBundleGetMainBundle */ \
|
/* If this triggers, investigate CFBundleGetMainBundle */ \
|
||||||
|
|||||||
@@ -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 */
|
/* Copyright (c) NetHack PC Development Team 1993, 1994 */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* 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));
|
DWORD rv = GetModuleFileNameA(NULL, binfile, sizeof(binfile));
|
||||||
if (rv == 0 || rv == sizeof(binfile))
|
if (rv == 0 || rv == sizeof(binfile))
|
||||||
return 1;
|
return 1;
|
||||||
#ifdef BETA
|
#if (NH_DEVEL_STATUS == NH_STATUS_BETA)
|
||||||
printf("FILE '%s'\n", binfile);
|
printf("FILE '%s'\n", binfile);
|
||||||
#endif
|
#endif
|
||||||
*(unsigned char **) p = (unsigned char *) binfile;
|
*(unsigned char **) p = (unsigned char *) binfile;
|
||||||
|
|||||||
Reference in New Issue
Block a user