Skip to content

Commit

Permalink
hell yeah
Browse files Browse the repository at this point in the history
  • Loading branch information
dankmeme01 committed Feb 2, 2024
1 parent bb96d56 commit 406f6f9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
add_definitions(/FI"WinSock2.h")
endif()

if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options("-Wno-inaccessible-base")
add_compile_options("-Wno-pointer-sign")

Expand Down
8 changes: 7 additions & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,11 @@
"name": "Globed",
"developer": "dankmeme",
"description": "Feature-rich multiplayer mod for Geometry Dash",
"dependencies": []
"dependencies": [
{
"id": "geode.custom-keybinds",
"version": ">=v1.2.3",
"importance": "required"
}
]
}
9 changes: 8 additions & 1 deletion src/defs/util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ class SingletonBase {
#define GLOBED_SINGLETON(cls) public SingletonBase<cls>

// using decls to avoid polluting the namespace in headers
namespace log = geode::log;

// ugly workaround because MSVC sucks ass
namespace __globed_log_namespace_shut_up_msvc {
namespace log = geode::log;
}

using namespace __globed_log_namespace_shut_up_msvc;

using geode::Result;
using geode::Loader;
using geode::Mod;
Expand Down

0 comments on commit 406f6f9

Please sign in to comment.