summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 13:53:37 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:09 +0200
commit22d9450100fd33ef3cc1fcb0fb92a1a20da5be75 (patch)
tree302df02893eb841302f2f214d0b66bf5dc3cd4cb
parentbd534bd522830e8855a28456ad7079ceb578fcfc (diff)
downloadsamba-22d9450100fd33ef3cc1fcb0fb92a1a20da5be75.tar.gz
samba-22d9450100fd33ef3cc1fcb0fb92a1a20da5be75.tar.bz2
samba-22d9450100fd33ef3cc1fcb0fb92a1a20da5be75.zip
build: Remove unused GLIBC_HACK_FCNTL64
This is not set from anywhere, and refers to Red Hat 7.0, which is really, really old now. Andrew Bartlett
-rw-r--r--source3/include/includes.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index b0c2a4aabc..8e5b1cd41f 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -488,19 +488,6 @@ typedef char fstring[FSTRING_LEN];
#define MAX_SEC_CTX_DEPTH 8 /* Maximum number of security contexts */
-#ifdef GLIBC_HACK_FCNTL64
-/* this is a gross hack. 64 bit locking is completely screwed up on
- i386 Linux in glibc 2.1.95 (which ships with RedHat 7.0). This hack
- "fixes" the problem with the current 2.4.0test kernels
-*/
-#define fcntl fcntl64
-#undef F_SETLKW
-#undef F_SETLK
-#define F_SETLK 13
-#define F_SETLKW 14
-#endif
-
-
/* add varargs prototypes with printf checking */
/*PRINTFLIKE2 */
int fdprintf(int , const char *, ...) PRINTF_ATTRIBUTE(2,3);