mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- fix macOS compile error.
The conditions for this redefinition do not seem to be correct.
This commit is contained in:
parent
e7ee858d0d
commit
338dcef94c
1 changed files with 1 additions and 1 deletions
2
source/thirdparty/include/enet.h
vendored
2
source/thirdparty/include/enet.h
vendored
|
@ -4878,7 +4878,7 @@ extern "C" {
|
|||
tv->tv_nsec = t.QuadPart % 1000000 * 1000;
|
||||
return (0);
|
||||
}
|
||||
#elif __APPLE__ && __MAC_OS_X_VERSION_MIN_REQUIRED < 101200
|
||||
#elif __APPLE__ && __MAC_OS_X_VERSION_MIN_REQUIRED < 101200 && !defined CLOCK_MONOTONIC
|
||||
#define CLOCK_MONOTONIC 0
|
||||
|
||||
int clock_gettime(int X, struct timespec *ts) {
|
||||
|
|
Loading…
Reference in a new issue