Use C++11 <cstdint> on Windows.

This commit is contained in:
Jonathan Naylor
2016-01-14 23:25:52 +00:00
parent 88af4e606e
commit 636dd5a112
3 changed files with 1 additions and 13 deletions

View File

@@ -26,12 +26,11 @@
#include <cmath>
#include <cassert>
#include <cstdint>
#if defined(_WIN32) || defined(_WIN64)
#include <Windows.h>
typedef unsigned int uint32_t;
#else
#include <cstdint>
#include <unistd.h>
#endif