]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Don't allow use with _FILE_OFFSET_BITS=64.
authorUlrich Drepper <drepper@redhat.com>
Fri, 20 Aug 1999 15:50:15 +0000 (15:50 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 20 Aug 1999 15:50:15 +0000 (15:50 +0000)
sysdeps/unix/sysv/linux/sys/sendfile.h

index 8008101b740819730a58b2977648ddad5c9d876b..3b2ad2b6efcbc4c80a07836755c0005f53eddc0c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 #include <features.h>
 #include <sys/types.h>
 
+#ifdef __USE_FILE_OFFSET64
+# error "<sendfile.h> cannot be used with _FILE_OFFSET_BITS=64"
+#endif
+
 __BEGIN_DECLS
 
 /* Send COUNT bytes from file associated with IN_FD starting at OFFSET to