forked from lijiext/lammps
use #include <cstdint> now that we require C++11
This commit is contained in:
parent
db4c6e4056
commit
5eccaecf9b
|
@ -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);
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue