Support external config flags

This commit is contained in:
Ray
2019-03-12 16:00:26 +01:00
parent 76e968f6b7
commit 477ea4d660
4 changed files with 25 additions and 3 deletions

View File

@@ -92,6 +92,8 @@
// Check if config flags have been externally provided on compilation line
#if !defined(EXTERNAL_CONFIG_FLAGS)
#include "config.h" // Defines module configuration flags
#else
#define RAYLIB_VERSION "2.5"
#endif
#if (defined(__linux__) || defined(PLATFORM_WEB)) && _POSIX_C_SOURCE < 199309L