From: cloudwalk Date: Mon, 10 Aug 2020 11:46:41 +0000 (+0000) Subject: cap_ogg: Remove MSVC ifdefs for stdint.h X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4e52b2b52ef6420d98e120df5c071cc2c74f0b88;p=xonotic%2Fdarkplaces.git cap_ogg: Remove MSVC ifdefs for stdint.h git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12890 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cap_ogg.c b/cap_ogg.c index a472dd03..0565a9e8 100644 --- a/cap_ogg.c +++ b/cap_ogg.c @@ -1,6 +1,3 @@ -#ifndef _MSC_VER -#include -#endif #include #include "quakedef.h" @@ -20,19 +17,11 @@ static cvar_t cl_capturevideo_ogg_theora_sharpness = {CVAR_CLIENT | CVAR_SAVE, " static cvar_t cl_capturevideo_ogg_vorbis_quality = {CVAR_CLIENT | CVAR_SAVE, "cl_capturevideo_ogg_vorbis_quality", "3", "audio quality (-1 to 10); higher is better"}; // ogg.h stuff -#ifdef _MSC_VER -typedef __int16 ogg_int16_t; -typedef unsigned __int16 ogg_uint16_t; -typedef __int32 ogg_int32_t; -typedef unsigned __int32 ogg_uint32_t; -typedef __int64 ogg_int64_t; -#else typedef int16_t ogg_int16_t; typedef uint16_t ogg_uint16_t; typedef int32_t ogg_int32_t; typedef uint32_t ogg_uint32_t; typedef int64_t ogg_int64_t; -#endif typedef struct { long endbyte;