Explorar o código

Get rid of redefines on ppc pointed out by vapier

Peter S. Mazinger %!s(int64=18) %!d(string=hai) anos
pai
achega
4c313954e6
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      libc/misc/file/lockf64.c

+ 2 - 0
libc/misc/file/lockf64.c

@@ -28,7 +28,9 @@
 #ifdef __NR_fcntl64
 #define flock flock64
 #define fcntl fcntl64
+#undef F_GETLK
 #define F_GETLK F_GETLK64
+#undef F_SETLK
 #define F_SETLK F_SETLK64
 libc_hidden_proto(fcntl64)
 #else