瀏覽代碼

guard against redefinition compile errors

flying-dude 2 年之前
父節點
當前提交
6d386d1638
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      BeefySysLib/Common.h

+ 5 - 0
BeefySysLib/Common.h

@@ -1,7 +1,12 @@
 #pragma once
 #pragma once
 
 
+#ifndef __STDC_LIMIT_MACROS
 #define __STDC_LIMIT_MACROS
 #define __STDC_LIMIT_MACROS
+#endif
+
+#ifndef __STDC_CONSTANT_MACROS
 #define __STDC_CONSTANT_MACROS
 #define __STDC_CONSTANT_MACROS
+#endif
 
 
 // #include <string>
 // #include <string>
 // #include <map>
 // #include <map>