#!/bin/sh
-tmp=gen-uio.$$
-trap 'status=$?; rm -f $tmp && exit $status' 0
-trap '{ (exit 1); exit 1; }' 1 2 13 15
-
fail=0
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.