Ver código fonte

guard against redefinition compile errors

flying-dude 2 anos atrás
pai
commit
6d386d1638
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      BeefySysLib/Common.h

+ 5 - 0
BeefySysLib/Common.h

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