mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Use GDB_SIG* enum instead of the system's macros, as the latter mightn't be included or might have a different value.
This commit is contained in:
@ -8,12 +8,15 @@
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#define SIGTRAP 5
|
||||
#define SIGTERM 15
|
||||
#define MSG_WAITALL 8
|
||||
#if defined(_WIN32) || !defined(MSG_WAITALL)
|
||||
#define MSG_WAITALL (8)
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
GDB_SIGTRAP = 5,
|
||||
GDB_SIGTERM = 15,
|
||||
} gdb_signals;
|
||||
|
||||
typedef enum {
|
||||
GDB_BP_TYPE_NONE = 0,
|
||||
GDB_BP_TYPE_X,
|
||||
|
Reference in New Issue
Block a user