reset webrogue-specific changes to upstream
This commit is contained in:
parent
3657948c1d
commit
64f3990e93
|
|
@ -44,11 +44,7 @@ if (${PLATFORM} MATCHES "Desktop")
|
|||
set(OPENGL_LIBRARIES "GL")
|
||||
endif ()
|
||||
|
||||
if (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "WASI")
|
||||
set(LIBS_PRIVATE m atomic)
|
||||
endif ()
|
||||
|
||||
set(LIBS_PRIVATE ${LIBS_PRIVATE} pthread ${OPENGL_LIBRARIES} ${OSS_LIBRARY})
|
||||
set(LIBS_PRIVATE m atomic pthread ${OPENGL_LIBRARIES} ${OSS_LIBRARY})
|
||||
|
||||
if ("${CMAKE_SYSTEM_NAME}" MATCHES "(Net|Open)BSD")
|
||||
find_library(OSS_LIBRARY ossaudio)
|
||||
|
|
|
|||
|
|
@ -1696,7 +1696,7 @@ void WaitTime(double seconds)
|
|||
#if defined(_WIN32)
|
||||
Sleep((unsigned long)(sleepSeconds*1000.0));
|
||||
#endif
|
||||
#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__EMSCRIPTEN__) || defined(__wasi__)
|
||||
#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__EMSCRIPTEN__)
|
||||
struct timespec req = { 0 };
|
||||
time_t sec = sleepSeconds;
|
||||
long nsec = (sleepSeconds - sec)*1000000000L;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user