-LRN: Have stat64 on W32 unconditionally
authorChristian Grothoff <christian@grothoff.org>
Mon, 19 Mar 2012 10:47:35 +0000 (10:47 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 19 Mar 2012 10:47:35 +0000 (10:47 +0000)
In case it's unavailable (only on W9x, which we don't support anyway), plibc
will provide a wrapper.

configure.ac

index a558ffd1e264c60b9d4c4b9b5092e4a0bccc484b..825d8c7ffb72080a0daf2a8939f7ff62a1385c1f 100644 (file)
@@ -152,7 +152,7 @@ netbsd*)
      LDFLAGS="$LDFLAGS -Wl,-no-undefined -Wl,--export-all-symbols"
      LIBS="$LIBS -lws2_32 -lplibc -lgnurx -lole32"
      CFLAGS="-mms-bitfields $CFLAGS"
-     CPPFLAGS="-D_WIN32_WINNT=0x0501 $CPPFLAGS"
+     CPPFLAGS="-D_WIN32_WINNT=0x0501 -DHAVE_STAT64=1 $CPPFLAGS"
      build_target="mingw"
      AC_PROG_CXX
      LIBPREFIX=lib