projects
/
platform
/
upstream
/
libusb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17ad642
)
Windows: Fix undefined datatype 'LONG_PTR' in MSVC6
author
Pete Batard
<pete@akeo.ie>
Tue, 15 Nov 2011 01:11:12 +0000
(
01:11
+0000)
committer
Peter Stuge
<peter@stuge.se>
Wed, 8 Feb 2012 13:46:14 +0000
(14:46 +0100)
* issue reported by Elmi
Signed-off-by: Michael Plante <michael.plante@gmail.com>
libusb/os/poll_windows.h
patch
|
blob
|
history
diff --git
a/libusb/os/poll_windows.h
b/libusb/os/poll_windows.h
index
fee89f5
..
4cc345b
100644
(file)
--- a/
libusb/os/poll_windows.h
+++ b/
libusb/os/poll_windows.h
@@
-38,7
+38,7
@@
#define STATUS_COMPLETED_SYNCHRONOUSLY STATUS_REPARSE
#define HasOverlappedIoCompletedSync(lpOverlapped) (((DWORD)(lpOverlapped)->Internal) == STATUS_COMPLETED_SYNCHRONOUSLY)
-#define DUMMY_HANDLE ((HANDLE)(LONG
_PTR
)-2)
+#define DUMMY_HANDLE ((HANDLE)(LONG)-2)
enum windows_version {
WINDOWS_UNSUPPORTED,