mirror of https://github.com/mgba-emu/mgba.git
Fix build against C++
This commit is contained in:
parent
e77238e5ef
commit
d48dad27d1
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include "arm.h"
|
||||
|
||||
const uint32_t ARM_DEBUGGER_ID;
|
||||
extern const uint32_t ARM_DEBUGGER_ID;
|
||||
|
||||
enum DebuggerState {
|
||||
DEBUGGER_PAUSED,
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
|
||||
#include "common.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define restrict __restrict__
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
|
|
Loading…
Reference in New Issue