mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
a few more minor stuff from uhexen2 svn
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1133 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
ed0eeb149f
commit
50a277c1f7
2 changed files with 5 additions and 6 deletions
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue