summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-01-30 21:00:23 +0000
committerPete Batard <pbatard@gmail.com>2010-01-30 21:00:23 +0000
commitc1f00180ff0f2eac5bb190a4a98a7a04b440413e (patch)
tree1c321276afd7483baec6e45d1ec23101c9f9dbb0 /examples
parentf95401139f33f714e4a26b045ce1315a6330cb72 (diff)
downloadlibusb-c1f00180ff0f2eac5bb190a4a98a7a04b440413e.tar.gz
r126: fixed sscanf_s test for MSVC6 users
Diffstat (limited to 'examples')
-rw-r--r--examples/xusb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xusb.c b/examples/xusb.c
index 2734032..00904c0 100644
--- a/examples/xusb.c
+++ b/examples/xusb.c
@@ -42,7 +42,7 @@
#define msleep(msecs) usleep(1000*msecs)
#endif
-#if !defined(_MSC_VER)
+#if !defined(_MSC_VER) || _MSC_VER<=1200
#define sscanf_s sscanf
#endif