diff options
| author | Ahmad Fatoum <[email protected]> | 2018-04-07 22:29:53 +0200 |
|---|---|---|
| committer | Ahmad Fatoum <[email protected]> | 2018-04-07 23:37:48 +0200 |
| commit | 1841afad11892bab16976b976d69b7757b617c8b (patch) | |
| tree | 865273c4b5a0e5574ef09f25f1f3320eafd794d9 /src/utils.h | |
| parent | d88523f03abcf396a8a8198503285bc231828c81 (diff) | |
| download | raylib-1841afad11892bab16976b976d69b7757b617c8b.tar.gz raylib-1841afad11892bab16976b976d69b7757b617c8b.zip | |
Refactor all #define SUPPORT_* into a config.h
That way, a user needs only to touch a single file to configure what
features raylib is built with.
Include guards are left out intentionally, because config.h should only
be included in source files, not headers.
Later on, config.h can also define the raylib version (#461).
Diffstat (limited to 'src/utils.h')
| -rw-r--r-- | src/utils.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/utils.h b/src/utils.h index f4a1a01a..ed75eb68 100644 --- a/src/utils.h +++ b/src/utils.h @@ -32,7 +32,9 @@ #include <android/asset_manager.h> // Required for: AAssetManager #endif -#define SUPPORT_SAVE_PNG +#ifndef SUPPORT_SAVE_PNG +#define SUPPORT_SAVE_PNG 1 +#endif //---------------------------------------------------------------------------------- // Some basic Defines @@ -74,4 +76,4 @@ FILE *android_fopen(const char *fileName, const char *mode); // Replacement f } #endif -#endif // UTILS_H
\ No newline at end of file +#endif // UTILS_H |
