mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 00:40:56 +00:00
For DISABLEINLINING=1, apply __fastcall to make up for the lack of inlining.
git-svn-id: https://svn.eduke32.com/eduke32@4247 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
90f4e7d7c8
commit
3b1b5bb41d
3 changed files with 5 additions and 5 deletions
|
@ -160,7 +160,7 @@ endif
|
||||||
# CPLUSPLUS - 1 = enable C++ building
|
# CPLUSPLUS - 1 = enable C++ building
|
||||||
# RELEASE - 1 = no debugging
|
# RELEASE - 1 = no debugging
|
||||||
# DEBUGANYWAY - 1 = include debug symbols even when generating release code
|
# DEBUGANYWAY - 1 = include debug symbols even when generating release code
|
||||||
# DISABLEINLINING - 1 = compile inline functions as extern instead of static inline
|
# DISABLEINLINING - 1 = compile inline functions as extern __fastcall instead of static inline
|
||||||
# FORCEWARNINGS - 1 = do not disable any compiler warnings within the source
|
# FORCEWARNINGS - 1 = do not disable any compiler warnings within the source
|
||||||
# KRANDDEBUG - 1 = include logging of krand() calls for debugging the demo system
|
# KRANDDEBUG - 1 = include logging of krand() calls for debugging the demo system
|
||||||
# EFENCE - 1 = compile with Electric Fence for malloc() debugging
|
# EFENCE - 1 = compile with Electric Fence for malloc() debugging
|
||||||
|
|
|
@ -169,8 +169,8 @@ static inline float nearbyintf(float x)
|
||||||
# define EXTERN_INLINE static inline
|
# define EXTERN_INLINE static inline
|
||||||
# define EXTERN_INLINE_HEADER static inline
|
# define EXTERN_INLINE_HEADER static inline
|
||||||
#else
|
#else
|
||||||
# define EXTERN_INLINE
|
# define EXTERN_INLINE __fastcall
|
||||||
# define EXTERN_INLINE_HEADER extern
|
# define EXTERN_INLINE_HEADER extern __fastcall
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined DEBUG_MAIN_ARRAYS
|
#if !defined DEBUG_MAIN_ARRAYS
|
||||||
|
|
|
@ -24,8 +24,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#define __actors_inline_h__
|
#define __actors_inline_h__
|
||||||
|
|
||||||
#if KRANDDEBUG
|
#if KRANDDEBUG
|
||||||
# define ACTOR_INLINE
|
# define ACTOR_INLINE __fastcall
|
||||||
# define ACTOR_INLINE_HEADER extern
|
# define ACTOR_INLINE_HEADER extern __fastcall
|
||||||
#else
|
#else
|
||||||
# define ACTOR_INLINE EXTERN_INLINE
|
# define ACTOR_INLINE EXTERN_INLINE
|
||||||
# define ACTOR_INLINE_HEADER EXTERN_INLINE_HEADER
|
# define ACTOR_INLINE_HEADER EXTERN_INLINE_HEADER
|
||||||
|
|
Loading…
Reference in a new issue