Remove inclusion of deprecated C++ headers
This commit is contained in:
parent
abce030d5d
commit
a2bb531c46
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
@ -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>
|
||||||
|
@ -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;
|
||||||
|
@ -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_):
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user