From fe4487d73fe9158bbc202f23187d0a753de855d5 Mon Sep 17 00:00:00 2001 From: ubkp <118854183+ubkp@users.noreply.github.com> Date: Thu, 21 Sep 2023 16:18:22 -0300 Subject: [PATCH] Move rcore.h #include to after config.h to fix macro redefinitions warnings --- src/rcore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index 4f584ae5a..de4a00335 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -99,13 +99,14 @@ **********************************************************************************************/ #include "raylib.h" // Declares module functions -#include "rcore.h" // 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 "rcore.h" + #define RLGL_IMPLEMENTATION #include "rlgl.h" // OpenGL abstraction layer to OpenGL 1.1, 3.3+ or ES2