mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-26 15:32:04 +00:00
Ensured that forceinline does nothing in debug builds.
This commit is contained in:
parent
ee71be0e7e
commit
40d7a603db
@ -9,11 +9,11 @@
|
||||
#ifndef ForceInline_hpp
|
||||
#define ForceInline_hpp
|
||||
|
||||
//#ifdef DEBUG
|
||||
//
|
||||
//#define forceinline inline
|
||||
//
|
||||
//#elseif
|
||||
#ifdef DEBUG
|
||||
|
||||
#define forceinline
|
||||
|
||||
#else
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define forceinline __attribute__((always_inline)) inline
|
||||
@ -21,6 +21,6 @@
|
||||
#define forceinline __forceinline
|
||||
#endif
|
||||
|
||||
//#endif
|
||||
#endif
|
||||
|
||||
#endif /* ForceInline_h */
|
||||
|
Loading…
x
Reference in New Issue
Block a user