Linux/gcc tweak for normSocket code
parent
88e600cedb
commit
2c34e3bf26
|
|
@ -115,6 +115,8 @@ typedef enum NormSocketEventType
|
|||
NORM_SOCKET_CLOSE // indicates socket is now closed (invalid for further operations)
|
||||
} NormSocketEventType;
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wpedantic"
|
||||
typedef struct
|
||||
{
|
||||
NormSocketEventType type;
|
||||
|
|
@ -134,6 +136,7 @@ typedef struct
|
|||
};
|
||||
};
|
||||
} NormSocketEvent;
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
bool NormGetSocketEvent(NormInstanceHandle normInstance, NormSocketEvent* event, bool waitForEvent = true);
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class NormController
|
|||
SEND_ERROR,
|
||||
USER_TIMEOUT,
|
||||
// The ones below here are not exposed via the NORM API
|
||||
SEND_OK,
|
||||
SEND_OK
|
||||
};
|
||||
|
||||
virtual void Notify(NormController::Event event,
|
||||
|
|
|
|||
Loading…
Reference in New Issue