Browse Source

Get rid of redefines on ppc pointed out by vapier

Peter S. Mazinger 18 years ago
parent
commit
4c313954e6
1 changed files with 2 additions and 0 deletions
  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