diff --git a/Include/auROXTL/AU_MACROS.hpp b/Include/auROXTL/AU_MACROS.hpp index f80b2ab..7e62e0e 100644 --- a/Include/auROXTL/AU_MACROS.hpp +++ b/Include/auROXTL/AU_MACROS.hpp @@ -127,12 +127,27 @@ #endif #if !defined(NO__NEW) + // new... the way it should be. + // not sure who thought it would be a good idea to add tags in the placement new syntax #if !defined(_new) #define _new new (std::nothrow) #endif #endif +#if !defined(NO_C_CLASS_MACROS) + // C-like inline and static for classes/structures (hence the c-prefix... class) + + #if !defined(cstatic) + #define cstatic inline static + #endif + + #if !defined(cinline) + #define cinline AU_INLINE + #endif +#endif + #if !defined(NO__INLINE) + // an actual inline pseudo-keyword without the requirement of mucho-texto #if !defined(auline) #define auline AU_INLINE #endif