minor cleanup for watcom _inline keyword.

This commit is contained in:
Ozkan Sezer 2021-11-25 17:00:24 +03:00
parent 3c71f8939b
commit 53aa8eec5f
5 changed files with 10 additions and 10 deletions

View file

@ -152,7 +152,7 @@ void _ReadWriteBarrier(void);
/* This is correct for all CPUs when using GCC or Solaris Studio 12.1+. */
#define SDL_CompilerBarrier() __asm__ __volatile__ ("" : : : "memory")
#elif defined(__WATCOMC__)
extern _inline void SDL_CompilerBarrier (void);
extern __inline void SDL_CompilerBarrier(void);
#pragma aux SDL_CompilerBarrier = "" parm [] modify exact [];
#else
#define SDL_CompilerBarrier() \