Skip to content

Commit b76e240

Browse files
committed
remove unnecessary #ifdef around #undef
1 parent bfc7536 commit b76e240

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

mods/dependencies.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,7 @@ Two versions of the macro are available:
172172
#pragma once
173173

174174
#include <Geode/loader/Dispatch.hpp>
175-
#ifdef MY_MOD_ID
176-
#undef MY_MOD_ID
177-
#endif
175+
#undef MY_MOD_ID
178176
// You must **manually** declare the mod id, as macros like GEODE_MOD_ID will not
179177
// behave correctly to other mods using your api.
180178
#define MY_MOD_ID "dev.my-api"

0 commit comments

Comments
 (0)