use #include <cstdint> now that we require C++11

This commit is contained in:
Axel Kohlmeyer 2020-04-21 19:31:57 -04:00
parent db4c6e4056
commit 5eccaecf9b
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
#define LMP_HASHLITTLE_H
#include <cstddef>
#include <stdint.h>
#include <cstdint>
namespace LAMMPS_NS {
uint32_t hashlittle(const void *key, size_t length, uint32_t);

View File

@ -53,7 +53,7 @@
#ifdef _WIN32
#define PSAPI_VERSION 1
#include <windows.h>
#include <stdint.h> // <cstdint> requires C++-11
#include <cstdint>
#include <psapi.h>
#else
#include <sys/resource.h>

View File

@ -1,6 +1,6 @@
#include "math_special.h"
#include <cmath>
#include <stdint.h> // IWYU pragma: keep
#include <cstdint> // IWYU pragma: keep
using namespace LAMMPS_NS;

View File

@ -21,7 +21,7 @@
#ifdef _WIN32
#include <windows.h>
#include <stdint.h> // <cstdint> requires C++-11
#include <cstdint>
#else
#include <sys/time.h>
#include <sys/resource.h>