1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-27 18:55:48 +00:00

Ensured that forceinline does nothing in debug builds.

This commit is contained in:
Thomas Harte 2017-08-21 22:04:15 -04:00
parent ee71be0e7e
commit 40d7a603db

View File

@ -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 */