#include <stddef.h>
#include <stdint.h>
#include <time.h>
+#include <stdarg.h>
#ifdef HAVE_POLL_H
#include <poll.h>
#endif
void usbi_log(struct libusb_context *ctx, enum usbi_log_level level,
const char *function, const char *format, ...);
+void usbi_log_v(struct libusb_context *ctx, enum usbi_log_level level,
+ const char *function, const char *format, va_list args);
+
#if !defined(_MSC_VER) || _MSC_VER > 1200
#ifdef ENABLE_LOGGING
#else /* !defined(_MSC_VER) || _MSC_VER > 1200 */
-void usbi_log_v(struct libusb_context *ctx, enum usbi_log_level level,
- const char *function, const char *format, va_list args);
-
#ifdef ENABLE_LOGGING
#define LOG_BODY(ctxt, level) \
{ \