diff options
author | Chris Dickens <christopher.a.dickens@gmail.com> | 2018-01-03 19:19:39 -0800 |
---|---|---|
committer | Chris Dickens <christopher.a.dickens@gmail.com> | 2018-01-03 19:19:39 -0800 |
commit | 3001f934776c5bb61a735fe676c3d82e69c47868 (patch) | |
tree | ff0cdfae121cd65469375055f3585b924ad4d313 /configure.ac | |
parent | c74dce858335d87ae07e2eceb7c166fa275bc8fe (diff) | |
download | libusb-3001f934776c5bb61a735fe676c3d82e69c47868.tar.gz |
Misc: Ensure that both WINVER and _WIN32_WINNT are defined for Windows builds
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 272deea..b596eae 100644 --- a/configure.ac +++ b/configure.ac @@ -177,6 +177,7 @@ windows) LTLDFLAGS="${LTLDFLAGS} -avoid-version -Wl,--add-stdcall-alias" AC_DEFINE([POLL_NFDS_TYPE],[unsigned int],[type of second poll() argument]) AC_DEFINE([WINVER], 0x0501, [Oldest Windows version supported]) + AC_DEFINE([_WIN32_WINNT], 0x0501, [Oldest Windows version supported]) AC_ARG_ENABLE([usbdk], [AC_HELP_STRING([--enable-usbdk], [use UsbDk Windows backend [default=no]])], |