소스 검색

Added header guard.

Branimir Karadžić 7 년 전
부모
커밋
aa48e8fe53
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/bimg_p.h

+ 5 - 0
src/bimg_p.h

@@ -3,6 +3,9 @@
  * License: https://github.com/bkaradzic/bimg#license-bsd-2-clause
  * License: https://github.com/bkaradzic/bimg#license-bsd-2-clause
  */
  */
 
 
+#ifndef BIMG_P_H_HEADER_GUARD
+#define BIMG_P_H_HEADER_GUARD
+
 #include <bimg/bimg.h>
 #include <bimg/bimg.h>
 #include <bx/allocator.h>
 #include <bx/allocator.h>
 #include <bx/readerwriter.h>
 #include <bx/readerwriter.h>
@@ -80,3 +83,5 @@ namespace bimg
 		);
 		);
 
 
 } // namespace bimg
 } // namespace bimg
+
+#endif // BIMG_P_H_HEADER_GUARD