Fixing typo in macros
This commit is contained in:
parent
14b5184d60
commit
10c047d0c0
3 changed files with 4 additions and 4 deletions
2
gfx.h
2
gfx.h
|
@ -392,7 +392,7 @@
|
|||
#if GFX_NO_INLINE
|
||||
#define GFXINLINE
|
||||
#else
|
||||
#if GFX_COMPILER == GFX_COMILER_KEIL
|
||||
#if GFX_COMPILER == GFX_COMPILER_KEIL
|
||||
#define GFXINLINE __inline
|
||||
#else
|
||||
#define GFXINLINE inline
|
||||
|
|
|
@ -203,12 +203,12 @@ static thread mainthread; // The main thread context
|
|||
* If they don't exist compile them to be the standard setjmp() function.
|
||||
* Similarly for longjmp().
|
||||
*/
|
||||
#if (!defined(setjmp) && !defined(_setjmp)) || GFX_COMPILER == GFX_COMILER_KEIL
|
||||
#if (!defined(setjmp) && !defined(_setjmp)) || GFX_COMPILER == GFX_COMPILER_KEIL
|
||||
#define CXT_SAVE setjmp
|
||||
#else
|
||||
#define CXT_SAVE _setjmp
|
||||
#endif
|
||||
#if (!defined(longjmp) && !defined(_longjmp)) || GFX_COMPILER == GFX_COMILER_KEIL
|
||||
#if (!defined(longjmp) && !defined(_longjmp)) || GFX_COMPILER == GFX_COMPILER_KEIL
|
||||
#define CXT_RESTORE longjmp
|
||||
#else
|
||||
#define CXT_RESTORE _longjmp
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#if GFX_USE_GWIN || defined(__DOXYGEN__)
|
||||
|
||||
#if GFX_COMPILER == GFX_COMILER_KEIL
|
||||
#if GFX_COMPILER == GFX_COMPILER_KEIL
|
||||
#pragma anon_unions
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue