mirror of https://github.com/mgba-emu/mgba.git
Scripting: Fix internal socket header
This commit is contained in:
parent
068e1fb612
commit
fa3b0d0875
|
@ -6,6 +6,10 @@
|
||||||
#ifndef M_SCRIPT_SOCKET_H
|
#ifndef M_SCRIPT_SOCKET_H
|
||||||
#define M_SCRIPT_SOCKET_H
|
#define M_SCRIPT_SOCKET_H
|
||||||
|
|
||||||
|
#include <mgba-util/common.h>
|
||||||
|
|
||||||
|
CXX_GUARD_START
|
||||||
|
|
||||||
enum mSocketErrorCode {
|
enum mSocketErrorCode {
|
||||||
mSCRIPT_SOCKERR_UNKNOWN_ERROR = -1,
|
mSCRIPT_SOCKERR_UNKNOWN_ERROR = -1,
|
||||||
mSCRIPT_SOCKERR_OK = 0,
|
mSCRIPT_SOCKERR_OK = 0,
|
||||||
|
@ -22,4 +26,6 @@ enum mSocketErrorCode {
|
||||||
mSCRIPT_SOCKERR_UNSUPPORTED,
|
mSCRIPT_SOCKERR_UNSUPPORTED,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CXX_GUARD_END
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue