mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
fix defines
This commit is contained in:
parent
01020ccbd4
commit
e0b30f648f
2 changed files with 10 additions and 12 deletions
|
@ -243,7 +243,7 @@ if (DEFINED GEODE_TULIPHOOK_REPO_PATH)
|
|||
message(STATUS "Using ${GEODE_TULIPHOOK_REPO_PATH} for TulipHook")
|
||||
add_subdirectory(${GEODE_TULIPHOOK_REPO_PATH} ${GEODE_TULIPHOOK_REPO_PATH}/build)
|
||||
else()
|
||||
CPMAddPackage("gh:geode-sdk/TulipHook#40d632d")
|
||||
CPMAddPackage("gh:geode-sdk/TulipHook#e640d75")
|
||||
endif()
|
||||
set(CMAKE_WARN_DEPRECATED ON CACHE BOOL "" FORCE)
|
||||
|
||||
|
|
|
@ -19,17 +19,15 @@
|
|||
#define GEODE_PLATFORM_SHORT_IDENTIFIER "win"
|
||||
#define CC_TARGET_OS_WIN32
|
||||
|
||||
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
|
||||
#if defined(WIN64) || defined(_WIN64) || defined(__WIN64) && !defined(__CYGWIN__)
|
||||
#define GEODE_IS_WINDOWS64
|
||||
#define GEODE_WINDOWS64(...) __VA_ARGS__
|
||||
#define GEODE_WINDOWS32(...)
|
||||
#else
|
||||
#define GEODE_IS_WINDOWS32
|
||||
#define GEODE_WINDOWS32(...) __VA_ARGS__
|
||||
#define GEODE_WINDOWS64(...)
|
||||
#endif
|
||||
#endif
|
||||
#if defined(WIN64) || defined(_WIN64) || defined(__WIN64) && !defined(__CYGWIN__)
|
||||
#define GEODE_IS_WINDOWS64
|
||||
#define GEODE_WINDOWS64(...) __VA_ARGS__
|
||||
#define GEODE_WINDOWS32(...)
|
||||
#else
|
||||
#define GEODE_IS_WINDOWS32
|
||||
#define GEODE_WINDOWS32(...) __VA_ARGS__
|
||||
#define GEODE_WINDOWS64(...)
|
||||
#endif
|
||||
#else
|
||||
#define GEODE_WINDOWS(...)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue