diff options
| author | Ray <[email protected]> | 2019-03-12 16:00:26 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-03-12 16:00:26 +0100 |
| commit | 477ea4d6606aa4659549f786935096942f187b37 (patch) | |
| tree | bb0a7d172ea25eeec0fd492b4bd5b3804e6ea4ac /src/utils.c | |
| parent | 76e968f6b7b211ed056f5ffe97d13086f58a661a (diff) | |
| download | raylib-477ea4d6606aa4659549f786935096942f187b37.tar.gz raylib-477ea4d6606aa4659549f786935096942f187b37.zip | |
Support external config flags
Diffstat (limited to 'src/utils.c')
| -rw-r--r-- | src/utils.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c index b31ce6ae..6b174354 100644 --- a/src/utils.c +++ b/src/utils.c @@ -30,9 +30,13 @@ * **********************************************************************************************/ -#include "config.h" - #include "raylib.h" // WARNING: Required for: LogType enum + +// Check if config flags have been externally provided on compilation line +#if !defined(EXTERNAL_CONFIG_FLAGS) + #include "config.h" // Defines module configuration flags +#endif + #include "utils.h" #if defined(PLATFORM_ANDROID) |
