defaults: if no crashhandler was defined, fallback to null

This commit is contained in:
Alibek Omarov 2020-07-12 18:08:16 +03:00
parent 3f3160e220
commit 2d97126baf

View File

@ -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
/* /*
========================================================================= =========================================================================