summaryrefslogtreecommitdiff
path: root/libusb/os/windows_winusb.h
diff options
context:
space:
mode:
authorKIMURA Masaru <hiyuh.root@gmail.com>2016-01-28 16:25:37 +0900
committerChris Dickens <christopher.a.dickens@gmail.com>2016-01-28 01:06:26 -0800
commit33f51ea92fba4b69159924b565da53f6b57e8830 (patch)
treea2d08ed5efa94655fc3956e08002d48a03ac8851 /libusb/os/windows_winusb.h
parenta57f0ec1d92dc58b4872814eec1ee30152cfab29 (diff)
downloadlibusb-33f51ea92fba4b69159924b565da53f6b57e8830.tar.gz
Windows: Move definitions for Cygwin.
Closes #145 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'libusb/os/windows_winusb.h')
-rw-r--r--libusb/os/windows_winusb.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/libusb/os/windows_winusb.h b/libusb/os/windows_winusb.h
index 047f2e2..d544a7f 100644
--- a/libusb/os/windows_winusb.h
+++ b/libusb/os/windows_winusb.h
@@ -48,14 +48,6 @@
#define FACILITY_SETUPAPI 15
#endif
-#if defined(__CYGWIN__ )
-#define _stricmp strcasecmp
-#define _snprintf snprintf
-#define _strdup strdup
-// _beginthreadex is MSVCRT => unavailable for cygwin. Fallback to using CreateThread
-#define _beginthreadex(a, b, c, d, e, f) CreateThread(a, b, (LPTHREAD_START_ROUTINE)c, d, e, (LPDWORD)f)
-#endif
-
#define MAX_CTRL_BUFFER_LENGTH 4096
#define MAX_USB_DEVICES 256
#define MAX_USB_STRING_LENGTH 128