revert <cstdint> back to <stdint.h> as the former seems to require C++-11

This commit is contained in:
Axel Kohlmeyer 2018-04-27 18:25:30 -04:00
parent e4071d7f46
commit 0015b15b18
7 changed files with 7 additions and 7 deletions

View File

@ -744,7 +744,7 @@ struct intr_types<float,double> {
#include <cassert>
#include <immintrin.h>
#include <cstdint>
#include <stdint.h> // <cstdint> requires C++-11
#define VEC_INLINE __attribute__((always_inline))

View File

@ -23,7 +23,7 @@
#include <cstring>
#include <cmath>
#include <cstdio>
#include <cstdint>
#include <stdint.h> // <cstdint> requires C++-11
#include <cassert>
#include <cstddef>
#include "lmptype.h"

View File

@ -14,7 +14,7 @@
#include <cmath>
#include <cstring>
#include <cstdint>
#include <stdint.h> // <cstdint> requires C++-11
#include "pair_agni_omp.h"
#include "atom.h"
#include "comm.h"

View File

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

View File

@ -37,7 +37,7 @@
#endif
#include <climits>
#include <cstdint>
#include <stdint.h> // <cstdint> requires C++-11
#include <cinttypes>
// grrr - IBM Power6 does not provide this def in their system header files

View File

@ -1,5 +1,5 @@
#include <cmath>
#include <cstdint>
#include <stdint.h> // <cstdint> requires C++-11
#include "math_special.h"
using namespace LAMMPS_NS;

View File

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