summaryrefslogtreecommitdiff
path: root/ext/standard/file.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-11-06 18:07:23 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-11-06 18:07:23 +0000
commit78e2e69b23a6811f148f68fcabe41dedc9e29005 (patch)
treebc116c046cc48cf100fbb467826bde9064a31b19 /ext/standard/file.c
parent3037b35b31a55d4a693a7ace1aa7138bccb524a3 (diff)
downloadphp-git-78e2e69b23a6811f148f68fcabe41dedc9e29005.tar.gz
Instead of checking whether realpath exists based on OS. Use the
HAVE_REALPATH define, which is set if realpath() is avaliable. This patch also resolves bug #18868.
Diffstat (limited to 'ext/standard/file.c')
-rw-r--r--ext/standard/file.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index 048c723f7a..e08c3c0ee3 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -115,10 +115,6 @@ php_file_globals file_globals;
#include <fnmatch.h>
#endif
-#ifdef __BEOS__
-#define realpath(x,y) strcpy(y,x)
-#endif
-
/* }}} */
/* {{{ ZTS-stuff / Globals / Prototypes */