about summary refs log tree commit diff
path: root/db2/compat.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-31 22:04:32 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-31 22:04:32 +0000
commit3331899af3fcaf628e118686a4ebbf592dca9ec8 (patch)
tree6d0644b10811fec10cda69c38263174bf40ce66d /db2/compat.h
parent12bf4b4adea6fab952bf7b4e9bab173727b1a5b1 (diff)
downloadglibc-3331899af3fcaf628e118686a4ebbf592dca9ec8.tar.gz
glibc-3331899af3fcaf628e118686a4ebbf592dca9ec8.tar.xz
glibc-3331899af3fcaf628e118686a4ebbf592dca9ec8.zip
Update.
	* db2/compat.h: Allow EFTYPE being defined.
	* sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
	* sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
	* sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
	* sysdeps/mach/bits/libc-lock.h: Fix typo.
	(__libc_once): Correctly unlock semaphore.
	* sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
	* sysdeps/unix/bsd/getpt.c: Fix typo.
	Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.

1998-03-31  Ulrich Drepper  <drepper@cygnus.com>
Diffstat (limited to 'db2/compat.h')
-rw-r--r--db2/compat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/db2/compat.h b/db2/compat.h
index 5183befd60..8652ad97ec 100644
--- a/db2/compat.h
+++ b/db2/compat.h
@@ -2,7 +2,9 @@
 
 #include <sys/types.h>
 
-#define EFTYPE EINVAL
+#ifndef EFTYPE
+# define EFTYPE EINVAL
+#endif
 
 /* Emulate Solaris llseek().  */
 typedef loff_t offset_t;