From 3cbe18b9c521e1ff3dab9a0fec27b6a40ebe2882 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Sat, 13 Apr 2019 21:27:43 +0100 Subject: [PATCH] Rewrite stdint.h so it's not dependant on SDL2 --- msvc/msvc2003/stdint.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/msvc/msvc2003/stdint.h b/msvc/msvc2003/stdint.h index 21519f33..38d32d21 100644 --- a/msvc/msvc2003/stdint.h +++ b/msvc/msvc2003/stdint.h @@ -1,3 +1,13 @@ -#pragma once +#ifndef _STDINT_H_ +#define _STDINT_H_ -#include "SDL.h" +typedef signed __int8 int8_t; +typedef unsigned __int8 uint8_t; +typedef signed __int16 int16_t; +typedef unsigned __int16 uint16_t; +typedef signed __int32 int32_t; +typedef unsigned __int32 uint32_t; +typedef signed __int64 int64_t; +typedef unsigned __int64 uint64_t; + +#endif /*_STDINT_H_*/