From 5d2684d2a77ef457197c146f1406a406ff9b5ea3 Mon Sep 17 00:00:00 2001 From: Andreas Auras Date: Sun, 25 Sep 2011 01:02:54 +0200 Subject: Some more enhancements to distribution --- test_appl/df10ch_test.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test_appl') diff --git a/test_appl/df10ch_test.c b/test_appl/df10ch_test.c index ee879a0..7a7ba2c 100644 --- a/test_appl/df10ch_test.c +++ b/test_appl/df10ch_test.c @@ -33,10 +33,11 @@ #else #include #include +#endif + #ifndef LIBUSB_CALL #define LIBUSB_CALL #endif -#endif #include "../df10ch_usb_proto.h" @@ -72,7 +73,7 @@ struct df10ch_output_driver_s { int transfer_err_cnt; // Number of transfer errors }; -#ifndef WIN32 +#ifndef HAVE_LIBUSB_STRERROR static const char *libusb_strerror(int rc) { switch (rc) { case LIBUSB_SUCCESS: -- cgit v1.2.3