summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--examples/others/rlgl_standalone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/others/rlgl_standalone.c b/examples/others/rlgl_standalone.c
index f02a8b1f..506ddfdb 100644
--- a/examples/others/rlgl_standalone.c
+++ b/examples/others/rlgl_standalone.c
@@ -48,8 +48,8 @@
#define RLGL_SUPPORT_TRACELOG
#include "rlgl.h" // OpenGL 1.1 immediate-mode style coding
-#ifdef __EMSCRIPTEN__
-#define GLFW_INCLUDE_ES2
+#if defined(__EMSCRIPTEN__)
+ #define GLFW_INCLUDE_ES2
#endif
#include <GLFW/glfw3.h> // Windows/Context and inputs management