From 22d9450100fd33ef3cc1fcb0fb92a1a20da5be75 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 28 Mar 2012 13:53:37 +1100 Subject: 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 --- source3/include/includes.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source3/include') 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); -- cgit