summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-05-23 14:36:27 +0000
committerAndi Gutmans <andi@php.net>2000-05-23 14:36:27 +0000
commit521f03c184fad08cc6943decd53df29f4a3ed830 (patch)
tree5e8f40e3843a91dc461b2e329d67ede4ac12252e /main/php.h
parent0eb51100b77996efbf0a728efe55ded996814025 (diff)
downloadphp-git-521f03c184fad08cc6943decd53df29f4a3ed830.tar.gz
- Support virtual unlink()
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index cdbbaabeb2..9cc2f8b040 100644
--- a/main/php.h
+++ b/main/php.h
@@ -308,6 +308,7 @@ PHPAPI int cfg_get_string(char *varname, char **result);
#else
#define V_LSTAT(path, buff) virtual_lstat(path, buff)
#endif
+#define V_UNLINK(path) virtual_unlink(path)
#else
#define V_GETCWD(buff, size) getcwd(buff,size)
#define V_FOPEN(path, mode) fopen(path, mode)
@@ -318,6 +319,7 @@ PHPAPI int cfg_get_string(char *varname, char **result);
#define V_GETWD(buf) getwd(buf)
#define V_STAT(path, buff) stat(path, buff)
#define V_LSTAT(path, buff) lstat(path, buff)
+#define V_UNLINK(path) unlink(path)
#endif
#include "zend_constants.h"