mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
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:
parent
5795242b39
commit
9df4292a91
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(_MSC_VER)
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
#define ssize_t SSIZE_T
|
#define ssize_t SSIZE_T
|
||||||
|
@ -180,12 +181,7 @@ typedef int ssize_t;
|
||||||
#endif /* _WIN64 */
|
#endif /* _WIN64 */
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
|
|
||||||
/* compatibility with M$ types */
|
/*==========================================================================*/
|
||||||
#if !defined(_WIN32)
|
|
||||||
#define PASCAL
|
|
||||||
#define FAR
|
|
||||||
#define APIENTRY
|
|
||||||
#endif /* ! WINDOWS */
|
|
||||||
|
|
||||||
#if !defined(__GNUC__)
|
#if !defined(__GNUC__)
|
||||||
#define __attribute__(x)
|
#define __attribute__(x)
|
||||||
|
|
|
@ -224,6 +224,9 @@ typedef struct
|
||||||
#include "SDL.h"
|
#include "SDL.h"
|
||||||
#include "SDL_opengl.h"
|
#include "SDL_opengl.h"
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef APIENTRY
|
||||||
|
#define APIENTRY
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "console.h"
|
#include "console.h"
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
Loading…
Reference in a new issue