Fix windows build on case-sensitive filesystems
Jeffrey Pfau jeffrey@endrift.com
Sun, 26 Oct 2014 02:02:39 -0700
3 files changed,
3 insertions(+),
3 deletions(-)
M
CMakeLists.txt
→
CMakeLists.txt
@@ -95,7 +95,7 @@
# Platform support if(WIN32) add_definitions(-D_WIN32_WINNT=0x0600) - list(APPEND OS_LIB Ws2_32) + list(APPEND OS_LIB ws2_32) file(GLOB OS_SRC ${CMAKE_SOURCE_DIR}/src/platform/windows/*.c) source_group("Windows-specific code" FILES ${OS_SRC}) else()
M
src/platform/windows/memory.c
→
src/platform/windows/memory.c
@@ -1,6 +1,6 @@
#include "util/memory.h" -#include <Windows.h> +#include <windows.h> void* anonymousMemoryMap(size_t size) { return VirtualAlloc(NULL, size, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE);
M
src/util/vfs.c
→
src/util/vfs.c
@@ -10,7 +10,7 @@ #include <sys/mman.h>
#define PATH_SEP '/' #else #include <io.h> -#include <Windows.h> +#include <windows.h> #define PATH_SEP '\\' #endif