mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 00:20:59 +00:00
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:
parent
0a8f2fe25b
commit
38e3825516
4 changed files with 7 additions and 5 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue