summaryrefslogtreecommitdiff
path: root/nt/inc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-05-15 20:06:26 +0300
committerEli Zaretskii <eliz@gnu.org>2013-05-15 20:06:26 +0300
commit9e5b5c79347e78cead061af5ef077c9a6d401bba (patch)
tree6090ddc47f4d4657965bb36601ce545ebfc8b19c /nt/inc
parentd14365f9411ab4b20db6c455aa9cf24ce6a0bcb1 (diff)
downloademacs-9e5b5c79347e78cead061af5ef077c9a6d401bba.tar.gz
Fixed nt/mingw-cfg.site to pass the configure step.
Diffstat (limited to 'nt/inc')
-rw-r--r--nt/inc/ms-w32.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h
index 24078f9a344..29c8e383893 100644
--- a/nt/inc/ms-w32.h
+++ b/nt/inc/ms-w32.h
@@ -346,11 +346,10 @@ extern struct tm *localtime_r (time_t const * restrict, struct tm * restrict);
#define ENOTSUP ENOSYS
#endif
-/* WINDOWSNT <errno.h> doesn't define EOPNOTSUPP, and we don't have
- 'configure' working yet so we can't rely on the Gnulib replacement
- errno.h defining EOPNOTSUPP. Work around the problem by defining
- it here. */
+/* In case lib/errno.h is not used. */
+#ifndef EOPNOTSUPP
#define EOPNOTSUPP 130
+#endif
#ifdef _MSC_VER
typedef int sigset_t;