all repos — mgba @ 8d002913f08689770574d120d4b27c21b6e8b03c

mGBA Game Boy Advance Emulator

Fix windows build on case-sensitive filesystems
Jeffrey Pfau jeffrey@endrift.com
Sun, 26 Oct 2014 02:02:39 -0700
commit

8d002913f08689770574d120d4b27c21b6e8b03c

parent

a5b9faa88c88d81a961d516fe3bef21cee99b3a7

3 files changed, 3 insertions(+), 3 deletions(-)

jump to
M CMakeLists.txtCMakeLists.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.csrc/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.csrc/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