]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/configure
libstdc++: Fix filebuf::native_handle() for Windows
[thirdparty/gcc.git] / libstdc++-v3 / configure
index 5bed1fb81101b1d1370046a426a631cefc15ff3e..bef2b840a595b6ec3a2c24eb3efb04f6835f62b7 100755 (executable)
@@ -54476,6 +54476,7 @@ $as_echo_n "checking whether _get_osfhandle is defined in <io.h>... " >&6; }
 
   #if defined(_WIN32) && !defined(__CYGWIN__)
   # include <stdint.h>
+  # include <stdio.h>
   # include <io.h>
   #endif
 
@@ -54498,7 +54499,7 @@ else
   ac_get_osfhandle=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  if test "$ac_objext" = yes; then
+  if test "$ac_get_osfhandle" = yes; then
 
 cat >>confdefs.h <<_ACEOF
 #define _GLIBCXX_USE__GET_OSFHANDLE 1