]> granicus.if.org Git - php/commitdiff
Unresolved external php_if_ftruncate on Win32
authorSam Ruby <rubys@php.net>
Tue, 7 Mar 2000 14:41:33 +0000 (14:41 +0000)
committerSam Ruby <rubys@php.net>
Tue, 7 Mar 2000 14:41:33 +0000 (14:41 +0000)
ext/standard/flock_compat.h

index 002c046069c811c5cce04f8d2fd08313f779645a..4308c08d9d8c57ae8c1b6d2f3aaa2d6689dc1693 100644 (file)
@@ -11,7 +11,7 @@ int flock(int fd, int operation);
 
 #ifdef PHP_WIN32
 #      define fsync _commit
-#      define ftruncate chsize
+#      define ftruncate(a,b) chsize(a,b)
 #endif /* defined(PHP_WIN32) */
 
 #if !HAVE_INET_ATON