summaryrefslogtreecommitdiff
path: root/lib/gen-uio
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-09-26 08:27:42 +0000
committerJim Meyering <jim@meyering.net>2001-09-26 08:27:42 +0000
commitea59c2ae6df37a361d72c056a4a7f2da846d88ce (patch)
tree814da94df4996869b58395efe17820ae7133e47c /lib/gen-uio
parent8cd9be5598a8151cbe3f96981643434b0f7b6adb (diff)
downloadcoreutils-ea59c2ae6df37a361d72c056a4a7f2da846d88ce.tar.xz
(USE_UNLOCKED_IO): Define to 1 if not already defined.
Diffstat (limited to 'lib/gen-uio')
-rwxr-xr-xlib/gen-uio4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gen-uio b/lib/gen-uio
index 191719a52..e7ef6a365 100755
--- a/lib/gen-uio
+++ b/lib/gen-uio
@@ -5,6 +5,10 @@ cat <<\EOF || fail=1
#ifndef UNLOCKED_IO_H
# define UNLOCKED_IO_H 1
+# ifndef USE_UNLOCKED_IO
+# define USE_UNLOCKED_IO 1
+# endif
+
# if USE_UNLOCKED_IO
/* These are wrappers for functions/macros from GNU libc.