mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Also use cstdint on non-MSVC instead of stdint.h
This commit is contained in:
parent
d29b584fa1
commit
69667d4537
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue