build: Remove unused GLIBC_HACK_FCNTL64
authorAndrew Bartlett <abartlet@samba.org>
Wed, 28 Mar 2012 02:53:37 +0000 (13:53 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 5 Apr 2012 00:39:09 +0000 (02:39 +0200)
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

index b0c2a4aabc21717c2565ca41bfbdc616f21eb593..8e5b1cd41fe1d8e9b0b586f3d752f17616311c64 100644 (file)
@@ -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);