+2006-10-19 Bruno Haible <bruno@clisp.org>
+
+ * lib/openat-priv.h (EOPNOTSUPP): Provide fallback definition.
+ Needed for mingw.
+
2006-10-19 Bruno Haible <bruno@clisp.org>
* m4/size_max.m4 (gl_SIZE_MAX): Cache the result.
# endif
#endif
+/* Some systems don't have EOPNOTSUPP. */
+#ifndef EOPNOTSUPP
+# ifdef ENOTSUP
+# define EOPNOTSUPP ENOTSUP
+# else
+/* Some systems don't have ENOTSUP either. */
+# define EOPNOTSUPP EINVAL
+# endif
+#endif
+
/* Trying to access a BUILD_PROC_NAME file will fail on systems without
/proc support, and even on systems *with* ProcFS support. Return
nonzero if the failure may be legitimate, e.g., because /proc is not