summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2021-10-10 23:24:05 +0200
committerRay <[email protected]>2021-10-10 23:24:05 +0200
commita91f61262eec6334f4ab1d0524924083561e88df (patch)
treef11e0b34b2a38636522a5fa8d5c11f61d047fbb7 /src
parentf8719e7ec3d2b9aa5827d6523c61be598899e2b4 (diff)
downloadraylib-a91f61262eec6334f4ab1d0524924083561e88df.tar.gz
raylib-a91f61262eec6334f4ab1d0524924083561e88df.zip
Review RLAPI to avoid warnings
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 47f63170..bf44844d 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -105,11 +105,6 @@
#define RLGL_VERSION "4.0"
-// Function specifiers definition
-#ifndef RLAPI
- #define RLAPI // Functions defined as 'extern' by default (implicit specifiers)
-#endif
-
// Function specifiers in case library is build/used as a shared library (Windows)
// NOTE: Microsoft specifiers to tell compiler that symbols are imported/exported from a .dll
#if defined(_WIN32)
@@ -120,6 +115,11 @@
#endif
#endif
+// Function specifiers definition
+#ifndef RLAPI
+ #define RLAPI // Functions defined as 'extern' by default (implicit specifiers)
+#endif
+
// Support TRACELOG macros
#ifndef TRACELOG
#define TRACELOG(level, ...) (void)0