/* */ #ifndef D_FMT_H #define D_FMT_H #include "common.h" #include #include namespace aria2 { std::string fmt(const char* fmt, ...) #ifdef __MINGW32__ __attribute__((format(__MINGW_PRINTF_FORMAT, 1, 2))) #else // !__MINGW32__ __attribute__((format(printf, 1, 2))) #endif // !__MINGW32__ ; } // namespace aria2 #endif // D_FMT_H