diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-04-12 10:12:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-12 10:12:37 -0400 |
commit | 6001e107993d1da69decdf479abf8a661ad57dda (patch) | |
tree | 9a430f0b70e0a24965378724f1bd28cd1a193dc1 /include/config.h | |
parent | 2880cf2a51ea36fa36f00d9ecf07177e5955c882 (diff) | |
parent | 7a562d6bae78fd7c62ed2f804fd8dcc555d85d18 (diff) |
Merge pull request #321 from PikalaxALT/modern_gcc
Get pokefirered_modern to build
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h index 4577f1b60..bdad6bb28 100644 --- a/include/config.h +++ b/include/config.h @@ -18,14 +18,14 @@ #define GAME_VERSION VERSION_FIRE_RED #else // Default version seems to be LeafGreen #define GAME_VERSION VERSION_LEAF_GREEN -#endif +#endif // GAME_VERSION // rev1 renamed the source folder for reasons #if REVISION == 0 #define CODE_ROOT "C:/WORK/POKeFRLG/src/pm_lgfr_ose/source/" #else #define CODE_ROOT "C:/WORK/POKeFRLG/Src/pm_lgfr_ose/source/" -#endif +#endif // REVISION #define ABSPATH(x) (CODE_ROOT x) @@ -33,6 +33,12 @@ #define UNITS_IMPERIAL #else #define UNITS_METRIC -#endif +#endif // ENGLISH + +// Crashes may occur due to section reordering in the modern build, +// so we force BUGFIX here. +#if MODERN +#define BUGFIX +#endif // MODERN #endif // GUARD_CONFIG_H |