diff options
author | Pete Batard <pbatard@gmail.com> | 2011-03-03 16:55:51 +0000 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2011-03-03 16:55:51 +0000 |
commit | ae34d85e93c953e6062bf57449f92078e2364099 (patch) | |
tree | 126dd0cfd89db31effabd82854d39a541335e28a | |
parent | ddaecc3e8a86969953747d941e5dbca71ffa52e2 (diff) | |
download | libusb-ae34d85e93c953e6062bf57449f92078e2364099.tar.gz |
[mingw32] fixed non C99 compliant OVERLAPPED in winbase.h
* issue and workaround similar to
fb33bf26916dae3a443c9d831d5f9985f58bcc6b for cygwin
* issue reported by Dave Camarillo
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 404c756..a3e49c5 100644 --- a/configure.ac +++ b/configure.ac @@ -75,7 +75,7 @@ case $host in LIBS="${LIBS} ${PC_LIBS_PRIVATE}" # -avoid-version to avoid a naming scheme such as libusb-0.dll AM_LDFLAGS="-no-undefined -avoid-version -Wl,--add-stdcall-alias" - AM_CFLAGS="-std=c99" + AM_CFLAGS="-std=gnu99" AC_CHECK_TOOL(RC, windres, no) AC_CHECK_TOOL(DLLTOOL, dlltool, false) ;; |