summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d80376945..cb1a6b26e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -127,6 +127,7 @@ AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(fcntl.h limits.h strings.h time.h sys/ioctl.h sys/time.h unistd.h)
AC_CHECK_HEADERS(linux/ppdev.h sys/mman.h sys/select.h sys/types.h)
AC_CHECK_HEADERS(sys/resource.h stdint.h sched.h signal.h sys/syscall.h)
+AC_CHECK_HEADERS(windows.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
@@ -169,6 +170,10 @@ inline static double exp10(double x)
return pow(10.0, x);
}
#endif
+
+#ifdef HAVE_WINDOWS_H
+#define NOMINMAX
+#endif
])
GR_CHECK_SHM_OPEN