summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2011-01-18 11:54:10 +0000
committerPete Batard <pbatard@gmail.com>2011-01-18 11:54:10 +0000
commitfb33bf26916dae3a443c9d831d5f9985f58bcc6b (patch)
tree2e336a94f41d499746b0ac4014b5c54f220f034d /configure.ac
parentb8f2b83a399e6dfd0a5043db0d730402a92965f5 (diff)
downloadlibusb-fb33bf26916dae3a443c9d831d5f9985f58bcc6b.tar.gz
cygwin: switched back to -std=gnu99
* cygwin recently changed their definition of OVERLAPPED in winbase.h to using anonymous structs/unions * anonymous struct unions are a GNU extension and ignored in standard C * this resulted in the OVERLAPPED hEvent handle being moved to an improper location, and invalid handle errors
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2685e2c..2a332e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -88,7 +88,7 @@ case $host in
backend="windows"
threads="posix"
LIBS="${LIBS} ${PC_LIBS_PRIVATE}"
- AM_CFLAGS="-std=c99"
+ AM_CFLAGS="-std=gnu99"
AM_LDFLAGS="-no-undefined -avoid-version"
AC_CHECK_TOOL(RC, windres, no)
;;