Unverified Commit 5eccaecf authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

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

parent db4c6e40
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -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 −1
Original line number Diff line number Diff line
#include "math_special.h"
#include <cmath>
#include <stdint.h> // IWYU pragma: keep
#include <cstdint> // IWYU pragma: keep

using namespace LAMMPS_NS;

+1 −1
Original line number Diff line number Diff line
@@ -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>