diff options
author | Toby Gray <toby.gray@realvnc.com> | 2013-01-16 02:07:29 +0000 |
---|---|---|
committer | Toby Gray <toby.gray@realvnc.com> | 2013-01-23 00:40:18 +0000 |
commit | 244271931a782028fd9bc1cdcdb12200f65cf8d9 (patch) | |
tree | eea17ea7e2e4c8638b26aa5a8984ef1b272a1566 /examples | |
parent | 790ffc78b008a03c95d10899f53997b504f55c72 (diff) | |
download | libusb-244271931a782028fd9bc1cdcdb12200f65cf8d9.tar.gz |
WinCE: Add support for WinCE (sources)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/listdevs.c | 2 | ||||
-rw-r--r-- | examples/xusb.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/listdevs.c b/examples/listdevs.c index 9f7e04e..8538bfa 100644 --- a/examples/listdevs.c +++ b/examples/listdevs.c @@ -18,7 +18,9 @@ */ #include <stdio.h> +#if !defined(_WIN32_WCE) #include <sys/types.h> +#endif #include "libusb.h" diff --git a/examples/xusb.c b/examples/xusb.c index 1117ace..707b58f 100644 --- a/examples/xusb.c +++ b/examples/xusb.c @@ -33,7 +33,7 @@ #define msleep(msecs) usleep(1000*msecs) #endif -#if !defined(_MSC_VER) || _MSC_VER<=1200 +#if !defined(_MSC_VER) || _MSC_VER<=1200 || defined(_WIN32_WCE) #define sscanf_s sscanf #endif |