NOSTATICFN/NONOSTATICFN typos and logic fixes

This commit is contained in:
Keni
2025-02-17 11:50:55 -05:00
parent 6b2f24a443
commit 372ebd9d80
2 changed files with 5 additions and 3 deletions

View File

@@ -273,7 +273,9 @@
# endif # endif
# ifdef __linux__ # ifdef __linux__
# define PANICTRACE # define PANICTRACE
# define NOSTATICFN # ifndef NOSTATICFN // may be defined on command line
# define NOSTATICFN
# endif
# endif # endif
// This test isn't quite right: CNG is only available from Windows 2000 on. // This test isn't quite right: CNG is only available from Windows 2000 on.
// But we'll check that at runtime. // But we'll check that at runtime.

View File

@@ -360,10 +360,10 @@ POSTINSTALL+= sed -i -e 's;^GDBPATH=/usr/bin/gdb;\#GDBPATH=/usr/bin/gdb;' \
-e 's;PANICTRACE_GDB=1;PANICTRACE_GDB=0;' $(INSTDIR)/sysconf; -e 's;PANICTRACE_GDB=1;PANICTRACE_GDB=0;' $(INSTDIR)/sysconf;
endif endif
ifeq 'USENONOSTATICFN' '1' ifeq '$(USE_NONOSTATICFN)' '1'
CFLAGS += -DNONOSTATICFN CFLAGS += -DNONOSTATICFN
else else
ifeq 'USE_NOSTATICFN' '1' ifeq '$(USE_NOSTATICFN)' '1'
CFLAGS += -DNOSTATICFN CFLAGS += -DNOSTATICFN
endif endif
endif endif