Explorar el Código

Get rid of redefines on ppc pointed out by vapier

Peter S. Mazinger hace 18 años
padre
commit
4c313954e6
Se han modificado 1 ficheros con 2 adiciones y 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