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
# ifdef __linux__
# define PANICTRACE
# define NOSTATICFN
# ifndef NOSTATICFN // may be defined on command line
# define NOSTATICFN
# endif
# endif
// This test isn't quite right: CNG is only available from Windows 2000 on.
// 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;
endif
ifeq 'USENONOSTATICFN' '1'
ifeq '$(USE_NONOSTATICFN)' '1'
CFLAGS += -DNONOSTATICFN
else
ifeq 'USE_NOSTATICFN' '1'
ifeq '$(USE_NOSTATICFN)' '1'
CFLAGS += -DNOSTATICFN
endif
endif