Changed inline to __inline.

Visual C does not accept the inline keyword, only __inline.

Visual C does not recognize the #warning compiler directive
This commit is contained in:
Six committed 2005-09-04 05:19:58 +00:00
1 parent 0a8f2fe25b
commit 38e3825516
4 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -1005,7 +1005,7 @@ qsort replacement
=================
*/
static inline void SWAP_DRAW_SURF(drawSurf_t* a, drawSurf_t* b)
static __inline void SWAP_DRAW_SURF(drawSurf_t* a, drawSurf_t* b)
{
drawSurf_t t;
memcpy(&t, a, sizeof(t));
+3 -1
View File
@@ -43,7 +43,9 @@ static char **shaderTextHashTable[MAX_SHADERTEXT_HASH];
return a hash value for the filename
================
*/
#warning TODO: check if long is ok here
#ifdef __GNUCC__
#warning TODO: check if long is ok here
#endif
static long generateHashValue( const char *fname, const int size ) {
int i;
long hash;