We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b6d0f7 commit 8063ed2Copy full SHA for 8063ed2
src/shared/platform/CMakeLists.txt
@@ -15,12 +15,17 @@ if (WIN32)
15
"win/nacl_semaphore.c"
16
"win/nacl_sync_win.cc"
17
"win/nacl_threads.c"
18
- "win/nacl_time.c"
19
"win/nacl_timestamp.c"
20
"win/port_win.c"
21
"win/xlate_system_error.c"
22
)
23
+ if (MSVC)
24
+ list(APPEND PLATFORM_INPUTS "win/nacl_time.c")
25
+ else()
26
+ list(APPEND PLATFORM_INPUTS "posix/nacl_time.c")
27
+ endif()
28
+
29
if (MSVC)
30
list(APPEND PLATFORM_FLAGS "/D_CRT_RAND_S")
31
list(APPEND PLATFORM_FLAGS "/D_UNICODE")
0 commit comments