Skip to content
Snippets Groups Projects
Commit 307857f2 authored by Stephen Hurd's avatar Stephen Hurd
Browse files

Desketch _mkgmtime

parent ca1dfac9
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ if(HAS_DEV_MACHINE_SPKR_H) ...@@ -124,7 +124,7 @@ if(HAS_DEV_MACHINE_SPKR_H)
endif() endif()
if(WIN32) if(WIN32)
target_compile_definitions(xpdev PUBLIC _WIN32 _WIN32_WINNT=0x0501 WINVER=0x0501 _WIN32_IE=0x0500) target_compile_definitions(xpdev PUBLIC _WIN32 _WIN32_WINNT=0x0501 WINVER=0x0501 MSVCRT_VERSION=0x0501 _WIN32_IE=0x0500)
target_link_libraries(xpdev iphlpapi ws2_32 winmm netapi32) target_link_libraries(xpdev iphlpapi ws2_32 winmm netapi32)
elseif(CMAKE_SYSTEM_NAME STREQUAL "Haiku") elseif(CMAKE_SYSTEM_NAME STREQUAL "Haiku")
target_link_libraries(xpdev network m) target_link_libraries(xpdev network m)
......
...@@ -57,7 +57,7 @@ DLLEXPORT struct tm* localtime32(const time32_t* t, struct tm* tm); ...@@ -57,7 +57,7 @@ DLLEXPORT struct tm* localtime32(const time32_t* t, struct tm* tm);
/* Microsoft's equivalent of GLIBC/BSD timegm() */ /* Microsoft's equivalent of GLIBC/BSD timegm() */
#if defined(_MSC_VER) || defined(__MINGW32__) #if defined(_MSC_VER) || defined(__MINGW32__)
#define timegm _mkgmtime32 #define timegm _mkgmtime
#endif #endif
/***********************************/ /***********************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment