瀏覽代碼

Review RLAPI to avoid warnings

Ray 4 年之前
父節點
當前提交
a91f61262e
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      src/rlgl.h

+ 5 - 5
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