diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-06-12 11:05:10 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-06-12 11:05:10 -0400 |
commit | bb976e3a5cc01abecf6729eb511f75fb21c6d2c4 (patch) | |
tree | 606e5094f454fa53bcd52afac5cb815742d13e56 /libdimension/dimension/compiler.h | |
parent | 453bb6c1b79d6d4fe4b1277336dc0f4097a5ee6b (diff) | |
download | dimension-bb976e3a5cc01abecf6729eb511f75fb21c6d2c4.tar.xz |
Add a C99 conformance test for the headers.
Diffstat (limited to 'libdimension/dimension/compiler.h')
-rw-r--r-- | libdimension/dimension/compiler.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libdimension/dimension/compiler.h b/libdimension/dimension/compiler.h index 61e53cf..952200b 100644 --- a/libdimension/dimension/compiler.h +++ b/libdimension/dimension/compiler.h @@ -30,17 +30,17 @@ */ #ifndef DMNSN_INLINE #ifdef __cplusplus - /* C++ inline semantics */ + // C++ inline semantics #define DMNSN_INLINE inline #elif __STDC_VERSION__ >= 199901L - /* C99 inline semantics */ + // C99 inline semantics #define DMNSN_INLINE inline #elif defined(__GNUC__) - /* GCC inline semantics */ + // GCC inline semantics #define DMNSN_INLINE __extension__ extern __inline__ #else - /* Unknown C - mark functions static and hope the compiler is smart enough - to inline them */ + // Unknown C - mark functions static and hope the compiler is smart enough + // to inline them #define DMNSN_INLINE static #endif #endif |