Some improvements for the Kiel C compiler
This commit is contained in:
parent
05dd4f404b
commit
ed14e4ca56
2 changed files with 9 additions and 1 deletions
|
@ -21,7 +21,11 @@
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
#undef INLINE
|
#undef INLINE
|
||||||
#define INLINE inline
|
#if defined(__KEIL__) || defined(__C51__)
|
||||||
|
#define INLINE __inline
|
||||||
|
#else
|
||||||
|
#define INLINE inline
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#undef INLINE
|
#undef INLINE
|
||||||
#define INLINE
|
#define INLINE
|
||||||
|
|
|
@ -23,6 +23,10 @@
|
||||||
|
|
||||||
#if GFX_USE_GWIN || defined(__DOXYGEN__)
|
#if GFX_USE_GWIN || defined(__DOXYGEN__)
|
||||||
|
|
||||||
|
#if defined(__KEIL__) || defined(__C51__)
|
||||||
|
#pragma anon_unions
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief The predefined flags for a Window
|
* @brief The predefined flags for a Window
|
||||||
* @{
|
* @{
|
||||||
|
|
Loading…
Add table
Reference in a new issue