diff --git a/.gitignore b/.gitignore index 2851c324..8aa842e6 100644 --- a/.gitignore +++ b/.gitignore @@ -2149,3 +2149,6 @@ lib/libs2d_engine.a # :Zone_Identifier files *Zone.Identifier + +# user-specific config file +include/config/config_local.h diff --git a/include/config.h b/include/config.h index c4fc3e2b..84975bf5 100644 --- a/include/config.h +++ b/include/config.h @@ -19,6 +19,10 @@ #include "config/config_objects.h" #include "config/config_rom.h" +// Local config - include a gitignore'd config file that's specific to just the user (if the file exists) +#if __has_include("config/config_local.h") + #include "config/config_local.h" +#endif -/* WARNING: Compatibility safeguards - don't remove this file unless you know what you're doing */ +// WARNING: Compatibility safeguards - don't remove this file unless you know what you're doing #include "config/config_safeguards.h"