/** * @file * @brief Compatibility layer for different printf implementations. * * Configuration: * * STA_PRINTF_USE_STDLIB: Use printf implementation from standard library * * STA_PRINTF_USE_MPALAND: Use printf implementation from Marco Paland */ #ifndef STA_CORE_PRINTF_HPP #define STA_CORE_PRINTF_HPP #include #if !defined(STA_PRINTF_USE_STDLIB) && !defined(STA_PRINTF_USE_MPALAND) # error "No printf implementation chosen!" #endif // !STA_PRINTF_USE_STDLIB && !STA_PRINTF_USE_MPALAND #ifdef STA_PRINTF_USE_STDLIB # include #endif // STA_PRINTF_USE_STDLIB #ifdef STA_PRINTF_USE_MPALAND # include #endif // STA_PRINTF_USE_MPALAND #endif // STA_CORE_PRINTF_HPP