unscramble NOCRASHREPORT logic in config.h

This commit is contained in:
nhkeni
2024-02-15 18:53:49 -05:00
parent 727740749e
commit a638629e47
+5 -1
View File
@@ -240,7 +240,7 @@
#define GREPPATH "/bin/grep" #define GREPPATH "/bin/grep"
#endif #endif
#ifdef NOCRASHREPORT #ifndef NOCRASHREPORT
# ifndef CRASHREPORT # ifndef CRASHREPORT
# ifdef MACOS # ifdef MACOS
# define CRASHREPORT "/usr/bin/open" # define CRASHREPORT "/usr/bin/open"
@@ -255,6 +255,10 @@
# define CRASHREPORT /* builtin helper */ # define CRASHREPORT /* builtin helper */
# endif # endif
# endif # endif
#else
# ifdef CRASHREPORT
# undef CRASHREPORT
# endif
#endif #endif
#ifdef CRASHREPORT #ifdef CRASHREPORT