summaryrefslogtreecommitdiffhomepage
path: root/src/utils.h
diff options
context:
space:
mode:
authorRay <[email protected]>2018-04-08 22:46:44 +0200
committerGitHub <[email protected]>2018-04-08 22:46:44 +0200
commitcd616258c6875d422cf20899f0daf89ba1d8e84a (patch)
tree7eef095832704c4bce4f69bbe378d10409f92472 /src/utils.h
parent9e7dedf5af6ea3f70196e86865b8a7e676b419b2 (diff)
parent1dbce352479f64748879fecb9df646654cd92229 (diff)
downloadraylib-cd616258c6875d422cf20899f0daf89ba1d8e84a.tar.gz
raylib-cd616258c6875d422cf20899f0daf89ba1d8e84a.zip
Merge pull request #522 from a3f/master
Refactor all #define SUPPORT_* into a config.h
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h6
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