diff options
author | Zeev Suraski <zeev@php.net> | 1999-09-12 20:36:48 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-09-12 20:36:48 +0000 |
commit | 9e3315799c3a654360d432459f3b0c7d152ea4ec (patch) | |
tree | 7de0bbc632da2ce0e65e358e8bd6ff3e5ca5108c /ext/standard/file.c | |
parent | 5f1793e21cdca5db1e5bdbc9043e8f9ceeef71d9 (diff) | |
download | php-git-9e3315799c3a654360d432459f3b0c7d152ea4ec.tar.gz |
That's important enough to be cached
Diffstat (limited to 'ext/standard/file.c')
-rw-r--r-- | ext/standard/file.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index b18d742970..930f05667b 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -79,6 +79,10 @@ extern int fclose(); #include <sys/mman.h> #endif +#ifndef MAP_FAILED +#define MAP_FAILED ((void *) -1) +#endif + static void _php3_closesocket(int *); #ifndef THREAD_SAFE |