summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-11-10 08:46:19 +0000
committerJim Meyering <jim@meyering.net>2000-11-10 08:46:19 +0000
commit2edf3e95dbcd018f8ed4fbce5eeaab734a009f45 (patch)
tree0a975301dc7e67a74140c0aedac39540c364975d /lib
parentb2a6e3f614bce6840d240be213f78a113c1ffb74 (diff)
downloadcoreutils-2edf3e95dbcd018f8ed4fbce5eeaab734a009f45.tar.xz
(ENOTSUP): Define to EINVAL if not defined.
Diffstat (limited to 'lib')
-rw-r--r--lib/unicodeio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/unicodeio.c b/lib/unicodeio.c
index c753e3d50..3565dedd7 100644
--- a/lib/unicodeio.c
+++ b/lib/unicodeio.c
@@ -38,6 +38,9 @@
#ifndef errno
extern int errno;
#endif
+#ifndef ENOTSUP
+# define ENOTSUP EINVAL
+#endif
#if HAVE_LIMITS_H
# include <limits.h>