summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2013-09-23 07:23:19 +0000
committerXuefer <xuefer@gmail.com>2013-09-23 07:23:19 +0000
commitf7035318b77a345d4e580a77ef4f2cfdd9501045 (patch)
tree14781482f65d312b3cbcc3a102ab5e4f628fa233 /util
parent563cbeedd2ef6a5b7b249983b2de20eba06d1480 (diff)
downloadxcache-f7035318b77a345d4e580a77ef4f2cfdd9501045.tar.gz
xcache-f7035318b77a345d4e580a77ef4f2cfdd9501045.zip
fix xtest
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1391 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'util')
-rw-r--r--util/xc_trace.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/xc_trace.c b/util/xc_trace.c
index 9550f13..8300ac5 100644
--- a/util/xc_trace.c
+++ b/util/xc_trace.c
@@ -1,4 +1,8 @@
-#include "php.h"
+#ifdef TEST
+# define PHP_DIR_SEPARATOR '/'
+#else
+# include "php.h"
+#endif
#include "xc_trace.h"
#include <stdio.h>
#include <stdarg.h>