#ifndef osml_h #define osml_h #if defined(__cplusplus) extern "C" { #endif #if defined(__cplusplus) #define OSML_INLINE inline #elif defined(__STDC_VERSION__) // is this OK? Do we need to require C94? C99? #define OSML_INLINE static inline #elif defined(__GNUC__) #define OSML_INLINE static inline #else #warning Unknown compiler; not inlining functions #define OSML_INLINE static #endif #include #include #include #include #include #if defined(__cplusplus) } #endif #endif