mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 08:50:55 +00:00
A small patch from rhoenie to make our source compatible with the Intel C Compiler.
Our makefile would need more setup and I currently don't have any means of testing. git-svn-id: https://svn.eduke32.com/eduke32@5757 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a9da9832af
commit
225f37f7b0
1 changed files with 2 additions and 0 deletions
|
@ -43,7 +43,9 @@ credits.
|
||||||
#if !defined(_WIN32)
|
#if !defined(_WIN32)
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
# if !defined __INTEL_COMPILER
|
||||||
typedef long long __int64;
|
typedef long long __int64;
|
||||||
|
# endif
|
||||||
static __inline int32_t _lrotl(int32_t i, int sh)
|
static __inline int32_t _lrotl(int32_t i, int sh)
|
||||||
{ return((i>>(-sh))|(i<<sh)); }
|
{ return((i>>(-sh))|(i<<sh)); }
|
||||||
/*__inline*/ int32_t filelength(int h)
|
/*__inline*/ int32_t filelength(int h)
|
||||||
|
|
Loading…
Reference in a new issue