Remove inclusion of deprecated C++ headers
This commit is contained in:
parent
abce030d5d
commit
a2bb531c46
@ -22,7 +22,7 @@
|
||||
#if defined(LIN)
|
||||
#include "icon.h"
|
||||
#endif
|
||||
#include <signal.h>
|
||||
#include <csignal>
|
||||
#include <stdexcept>
|
||||
|
||||
#ifndef WIN
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#include <cstring>
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
#ifdef WIN
|
||||
#define NOMINMAX
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
#if defined(LIN) || defined(USE_STDINT)
|
||||
#include <sys/types.h>
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
#else
|
||||
typedef long long int int64_t;
|
||||
typedef unsigned long long int uint64_t;
|
||||
|
@ -40,9 +40,9 @@
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <cerrno>
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <csignal>
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
#include <netinet/in.h>
|
||||
|
@ -37,7 +37,7 @@ typedef __int32 int32_t;
|
||||
typedef unsigned __int32 uint32_t;
|
||||
typedef unsigned __int64 uint64_t;
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
#endif
|
||||
|
||||
typedef int32_t SBits;
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <iostream>
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
#include "TPTSTypes.h"
|
||||
|
||||
AnyType::AnyType(ValueType type_, ValueValue value_):
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define STRUCTPROPERTY_H_
|
||||
|
||||
#include "common/String.h"
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
struct StructProperty
|
||||
{
|
||||
|
Reference in New Issue
Block a user