mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-23 22:41:05 +01:00
Fix build with MinGW-w64
Only works with 32-bit, however
This commit is contained in:
parent
71329131bd
commit
7f5e9f0fb9
@ -2,12 +2,6 @@ cmake_minimum_required(VERSION 3.5)
|
||||
project(vgmstream C)
|
||||
enable_language(CXX)
|
||||
|
||||
# TODO: Figure out why MinGW-w64 doesn't build
|
||||
|
||||
if(MINGW)
|
||||
message(FATAL_ERROR "Cannot currently build with MinGW")
|
||||
endif()
|
||||
|
||||
get_directory_property(hasParent PARENT_DIRECTORY)
|
||||
if(hasParent)
|
||||
set(VGM_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} PARENT_SCOPE)
|
||||
|
@ -11,7 +11,7 @@
|
||||
// NULL: 65
|
||||
// mm2: 69
|
||||
|
||||
#if (_MSC_VER <= 1200)
|
||||
#if defined(_MSC_VER) && (_MSC_VER <= 1200)
|
||||
typedef int intptr_t;
|
||||
#endif
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <windows.h>
|
||||
#include <stddef.h>
|
||||
#if (_MSC_VER <= 1200)
|
||||
#if defined(_MSC_VER) && (_MSC_VER <= 1200)
|
||||
typedef int intptr_t;
|
||||
#endif
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user