Browse Source

defaults: if no crashhandler was defined, fallback to null

pull/2/head
Alibek Omarov 5 years ago
parent
commit
2d97126baf
  1. 6
      common/defaults.h

6
common/defaults.h

@ -118,8 +118,6 @@ SETUP BACKENDS DEFINITIONS
#define XASH_CRASHHANDLER CRASHHANDLER_DBGHELP #define XASH_CRASHHANDLER CRASHHANDLER_DBGHELP
#elif XASH_LINUX || XASH_BSD #elif XASH_LINUX || XASH_BSD
#define XASH_CRASHHANDLER CRASHHANDLER_UCONTEXT #define XASH_CRASHHANDLER CRASHHANDLER_UCONTEXT
#else // !(XASH_LINUX || XASH_BSD || XASH_WIN32)
#define XASH_CRASHHANDLER CRASHHANDLER_NULL
#endif // !(XASH_LINUX || XASH_BSD || XASH_WIN32) #endif // !(XASH_LINUX || XASH_BSD || XASH_WIN32)
#endif #endif
@ -159,6 +157,10 @@ SETUP BACKENDS DEFINITIONS
#define XASH_INPUT INPUT_NULL #define XASH_INPUT INPUT_NULL
#endif // XASH_INPUT #endif // XASH_INPUT
#ifndef XASH_CRASHHANDLER
#define XASH_CRASHHANDLER CRASHHANDLER_NULL
#endif // XASH_CRASHHANDLER
/* /*
========================================================================= =========================================================================

Loading…
Cancel
Save