Add header guard

This commit is contained in:
U-DESKTOP-UVBJEGH\Cloud 2018-06-08 17:45:10 +08:00
parent 7a194fb224
commit 9ec142daa8
1 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,6 @@
#ifndef CSTDINT_H
#define CSTDINT_H
#if defined(__has_include)
# if __has_include(<cstdint>)
# include <cstdint>
@ -11,3 +14,5 @@
#else
# include <cstdint>
#endif
#endif // CSTDINT_H