Remove inclusion of deprecated C++ headers

This commit is contained in:
wolfy1339 2019-01-07 01:08:52 -05:00 committed by jacob1
parent abce030d5d
commit a2bb531c46
7 changed files with 8 additions and 8 deletions

View File

@ -22,7 +22,7 @@
#if defined(LIN) #if defined(LIN)
#include "icon.h" #include "icon.h"
#endif #endif
#include <signal.h> #include <csignal>
#include <stdexcept> #include <stdexcept>
#ifndef WIN #ifndef WIN

View File

@ -7,7 +7,7 @@
#include <malloc.h> #include <malloc.h>
#endif #endif
#include <cstring> #include <cstring>
#include <stdint.h> #include <cstdint>
#ifdef WIN #ifdef WIN
#define NOMINMAX #define NOMINMAX

View File

@ -31,7 +31,7 @@
#if defined(LIN) || defined(USE_STDINT) #if defined(LIN) || defined(USE_STDINT)
#include <sys/types.h> #include <sys/types.h>
#include <stdint.h> #include <cstdint>
#else #else
typedef long long int int64_t; typedef long long int int64_t;
typedef unsigned long long int uint64_t; typedef unsigned long long int uint64_t;

View File

@ -40,9 +40,9 @@
#else #else
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <cerrno>
#include <fcntl.h> #include <fcntl.h>
#include <signal.h> #include <csignal>
#include <sys/socket.h> #include <sys/socket.h>
#include <netdb.h> #include <netdb.h>
#include <netinet/in.h> #include <netinet/in.h>

View File

@ -37,7 +37,7 @@ typedef __int32 int32_t;
typedef unsigned __int32 uint32_t; typedef unsigned __int32 uint32_t;
typedef unsigned __int64 uint64_t; typedef unsigned __int64 uint64_t;
#else #else
#include <stdint.h> #include <cstdint>
#endif #endif
typedef int32_t SBits; typedef int32_t SBits;

View File

@ -1,5 +1,5 @@
#include <iostream> #include <iostream>
#include <stdint.h> #include <cstdint>
#include "TPTSTypes.h" #include "TPTSTypes.h"
AnyType::AnyType(ValueType type_, ValueValue value_): AnyType::AnyType(ValueType type_, ValueValue value_):

View File

@ -2,7 +2,7 @@
#define STRUCTPROPERTY_H_ #define STRUCTPROPERTY_H_
#include "common/String.h" #include "common/String.h"
#include <stdint.h> #include <cstdint>
struct StructProperty struct StructProperty
{ {