diff options
author | Andreas Auras <yak54@inkennet.de> | 2011-09-25 01:02:54 +0200 |
---|---|---|
committer | Andreas Auras <yak54@inkennet.de> | 2011-09-25 01:02:54 +0200 |
commit | 5d2684d2a77ef457197c146f1406a406ff9b5ea3 (patch) | |
tree | 4bdf921fb454ad3b520c01474ae73a32970017e1 /test_appl/df10ch_test.c | |
parent | e13185dcc397297442e815cb4372537c86e89afa (diff) | |
download | df10ch-atmolight-controller-5d2684d2a77ef457197c146f1406a406ff9b5ea3.tar.gz df10ch-atmolight-controller-5d2684d2a77ef457197c146f1406a406ff9b5ea3.tar.bz2 |
Some more enhancements to distribution
Diffstat (limited to 'test_appl/df10ch_test.c')
-rw-r--r-- | test_appl/df10ch_test.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <unistd.h> #include <sys/time.h> +#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: |