a few more minor stuff from uhexen2 svn

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1133 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2014-10-31 13:03:20 +00:00
parent 5795242b39
commit 9df4292a91
2 changed files with 5 additions and 6 deletions

View File

@ -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)

View File

@ -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"