Added VS projects for VS2015 (CTP6) & related changes
[usb-relay-hid.git] / lib / usb_relay_lib.c
index c7aadc2f2d34e13aa72e5cb605a9e23cbfc38331..73ad60cb72fb1ad5b4513dbb41fec72361444eca 100644 (file)
@@ -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