summaryrefslogtreecommitdiff
path: root/TSRM/tsrm_virtual_cwd.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 /TSRM/tsrm_virtual_cwd.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 'TSRM/tsrm_virtual_cwd.c')
-rw-r--r--TSRM/tsrm_virtual_cwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c
index 86cc3fc724..12c35e1ced 100644
--- a/TSRM/tsrm_virtual_cwd.c
+++ b/TSRM/tsrm_virtual_cwd.c
@@ -41,7 +41,7 @@
#include "tsrm_nw.h"
#endif
-#ifdef __BEOS__
+#ifndef HAVE_REALPATH
#define realpath(x,y) strcpy(y,x)
#endif