Also use cstdint on non-MSVC instead of stdint.h

This commit is contained in:
Dennis Felsing 2018-05-29 09:15:00 +02:00
parent d29b584fa1
commit 69667d4537

View file

@ -3,17 +3,13 @@
#ifndef GAME_SERVER_EVENTHANDLER_H
#define GAME_SERVER_EVENTHANDLER_H
#ifdef _MSC_VER
#if _MSC_VER >= 1600
#include <cstdint>
#else
typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
#endif
#if !defined(_MSC_VER) || _MSC_VER >= 1600
#include <cstdint>
#else
#include <stdint.h>
typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
#endif
//
class CEventHandler