Port: internal logging print format for mingw
[babeltrace.git] / include / babeltrace / logging-internal.h
index df21c21ef9ad5eba3cd27322c97dfa2d5f50e195..21e3a0fd09b89b4c4efc31ecfb769860a85cad2c 100644 (file)
 #if defined(__printflike)
        #define _BT_LOG_PRINTFLIKE(str_index, first_to_check) \
                __printflike(str_index, first_to_check)
+#elif defined(__MINGW_PRINTF_FORMAT)
+       #define _BT_LOG_PRINTFLIKE(str_index, first_to_check) \
+               __attribute__((format(__MINGW_PRINTF_FORMAT, str_index, first_to_check)))
 #elif defined(__GNUC__)
        #define _BT_LOG_PRINTFLIKE(str_index, first_to_check) \
                __attribute__((format(__printf__, str_index, first_to_check)))
This page took 0.022958 seconds and 4 git commands to generate.