projects
/
usb-relay-hid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added VS projects for VS2015 (CTP6) & related changes
[usb-relay-hid.git]
/
lib
/
usb_relay_lib.c
diff --git
a/lib/usb_relay_lib.c
b/lib/usb_relay_lib.c
index c7aadc2f2d34e13aa72e5cb605a9e23cbfc38331..73ad60cb72fb1ad5b4513dbb41fec72361444eca 100644
(file)
--- a/
lib/usb_relay_lib.c
+++ b/
lib/usb_relay_lib.c
@@
-24,7
+24,9
@@
#define USBRL_CALL __cdecl
#define USBRL_API __declspec(dllexport) USBRL_CALL
+#if _MSC_VER < 1900 /* before VS2015 */
#define snprintf _snprintf
+#endif /* VS2015 */
#endif // _MSC_VER
#endif //WIN32