mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-24 03:39:56 -04:00
fix commenttype macos (thanks cocoa!)
This commit is contained in:
parent
499876307c
commit
7796bfba9f
2 changed files with 11 additions and 0 deletions
|
@ -51,6 +51,10 @@ elseif (GEODE_TARGET_PLATFORM STREQUAL "MacOS")
|
|||
${GEODE_LOADER_PATH}/include/link/libfmod.dylib
|
||||
)
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME} INTERFACE
|
||||
-DCommentType=CommentTypeDummy
|
||||
)
|
||||
|
||||
set(GEODE_PLATFORM_BINARY "Geode.dylib")
|
||||
|
||||
elseif (GEODE_TARGET_PLATFORM STREQUAL "Win32")
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "DefaultInclude.hpp"
|
||||
|
||||
// thanks pie
|
||||
enum class SearchType {
|
||||
Search = 0,
|
||||
|
@ -110,6 +112,11 @@ enum class CommentError {
|
|||
enum class BackupAccountError {
|
||||
};
|
||||
|
||||
// Thanks cocoa!
|
||||
#ifdef GEODE_IS_MACOS
|
||||
#undef CommentType
|
||||
#endif
|
||||
|
||||
enum class CommentType {
|
||||
Level = 0,
|
||||
Account = 1,
|
||||
|
|
Loading…
Add table
Reference in a new issue