Add iOS platform (refactor Mac into shared Apple platform impl)
This commit is contained in:
2
Source/ThirdParty/enet/enet.h
vendored
2
Source/ThirdParty/enet/enet.h
vendored
@@ -5002,7 +5002,7 @@ extern "C" {
|
||||
tv->tv_nsec = t.QuadPart % 1000000 * 1000;
|
||||
return (0);
|
||||
}
|
||||
#elif __APPLE__ && __MAC_OS_X_VERSION_MIN_REQUIRED < 101200
|
||||
#elif __APPLE__ && defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101200
|
||||
#define CLOCK_MONOTONIC 0
|
||||
|
||||
int clock_gettime(int X, struct timespec *ts) {
|
||||
|
||||
Reference in New Issue
Block a user