diff options
author | Alec Thomas <alec@swapoff.org> | 2014-10-27 10:28:33 +1100 |
---|---|---|
committer | Alec Thomas <alec@swapoff.org> | 2014-10-27 10:28:33 +1100 |
commit | aa0a2b3a49f34eb5c63b8a56519b30627b1ae637 (patch) | |
tree | fe3ddfc822cb712f6ec05c1c22c2dea713135ea3 /cxx11/c++11-test-cstdint.cpp | |
parent | 8158e9c732c75baf47e51c304ab593f9feb842c6 (diff) | |
parent | 142b0835bf955cecfe48805012e0a1771a196903 (diff) |
Merge pull request #61 from tivek/remove_c_std_libraries
Replace stdint.h with cstdint
Diffstat (limited to 'cxx11/c++11-test-cstdint.cpp')
-rw-r--r-- | cxx11/c++11-test-cstdint.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cxx11/c++11-test-cstdint.cpp b/cxx11/c++11-test-cstdint.cpp index be2878f..6ba852f 100644 --- a/cxx11/c++11-test-cstdint.cpp +++ b/cxx11/c++11-test-cstdint.cpp @@ -2,9 +2,9 @@ int main() { bool test = - (sizeof(int8_t) == 1) && - (sizeof(int16_t) == 2) && - (sizeof(int32_t) == 4) && - (sizeof(int64_t) == 8); + (sizeof(std::int8_t) == 1) && + (sizeof(std::int16_t) == 2) && + (sizeof(std::int32_t) == 4) && + (sizeof(std::int64_t) == 8); return test ? 0 : 1; } |