Minor fixes to some headers (tweak) (#1198)

This commit is contained in:
Daniel Lemire 2020-10-02 12:29:05 -04:00 committed by GitHub
parent 9865bb6904
commit f1841e48b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

View File

@ -46,8 +46,8 @@ POSSIBILITY OF SUCH DAMAGE.
#ifndef SIMDJSON_ISADETECTION_H #ifndef SIMDJSON_ISADETECTION_H
#define SIMDJSON_ISADETECTION_H #define SIMDJSON_ISADETECTION_H
#include <stdint.h> #include <cstdint>
#include <stdlib.h> #include <cstdlib>
#if defined(_MSC_VER) #if defined(_MSC_VER)
#include <intrin.h> #include <intrin.h>
#elif defined(HAVE_GCC_GET_CPUID) && defined(USE_GCC_GET_CPUID) #elif defined(HAVE_GCC_GET_CPUID) && defined(USE_GCC_GET_CPUID)

View File

@ -1,12 +1,11 @@
#include <cassert> #include <cassert>
#include <climits> #include <climits>
#include <cstring> #include <cstring>
#include <inttypes.h> #include <cinttypes>
#include <iostream> #include <iostream>
#include <math.h> #include <cmath>
#include <stdbool.h> #include <cstdio>
#include <stdio.h> #include <cstdlib>
#include <stdlib.h>
#ifndef JSON_TEST_STRINGS #ifndef JSON_TEST_STRINGS
#define JSON_TEST_STRINGS #define JSON_TEST_STRINGS