diff --git a/Quake/q_stdinc.h b/Quake/q_stdinc.h index bec23916..5e93990b 100644 --- a/Quake/q_stdinc.h +++ b/Quake/q_stdinc.h @@ -172,6 +172,7 @@ typedef int fixed16_t; /*==========================================================================*/ +/* missing types */ #if defined(_MSC_VER) #if defined(_WIN64) #define ssize_t SSIZE_T @@ -180,12 +181,7 @@ typedef int ssize_t; #endif /* _WIN64 */ #endif /* _MSC_VER */ -/* compatibility with M$ types */ -#if !defined(_WIN32) -#define PASCAL -#define FAR -#define APIENTRY -#endif /* ! WINDOWS */ +/*==========================================================================*/ #if !defined(__GNUC__) #define __attribute__(x) diff --git a/Quake/quakedef.h b/Quake/quakedef.h index 9cff4679..8f3da6fb 100644 --- a/Quake/quakedef.h +++ b/Quake/quakedef.h @@ -224,6 +224,9 @@ typedef struct #include "SDL.h" #include "SDL_opengl.h" #endif +#ifndef APIENTRY +#define APIENTRY +#endif #include "console.h" #include "wad.h"