소스 검색

add include guards on config.h (#2888)

Jeffery Myers 2 년 전
부모
커밋
63da7cdec6
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      src/config.h

+ 4 - 1
src/config.h

@@ -24,7 +24,8 @@
 *     3. This notice may not be removed or altered from any source distribution.
 *
 **********************************************************************************************/
-
+#ifndef CONFIG_H
+#define CONFIG_H
 //------------------------------------------------------------------------------------
 // Module selection - Some modules could be avoided
 // Mandatory modules: rcore, rlgl, utils
@@ -236,3 +237,5 @@
 // utils: Configuration values
 //------------------------------------------------------------------------------------
 #define MAX_TRACELOG_MSG_LENGTH          128    // Max length of one trace-log message
+
+#endif // CONFIG_H