summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-08-20 14:02:57 +0000
committerSascha Schumann <sas@php.net>2000-08-20 14:02:57 +0000
commitc8b8a908ca9bed4891798e94bb1a138df2257ae7 (patch)
treeb906f5b12b2123f820e04c834a7aa1b0a59e2d3f /main/php.h
parentce0c4a799106187bcde96079ca5dfd70900b7528 (diff)
downloadphp-git-c8b8a908ca9bed4891798e94bb1a138df2257ae7.tar.gz
Provide PHP_SEPARATOR which expands to the default directory separator
on the target platform.
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 b0b25500d5..8d8b4c5034 100644
--- a/main/php.h
+++ b/main/php.h
@@ -65,9 +65,11 @@ extern unsigned char second_arg_allow_ref[];
# else
# define PHPAPI __declspec(dllimport)
# endif
+#define PHP_SEPARATOR '\\'
#else
#define PHPAPI
#define THREAD_LS
+#define PHP_SEPARATOR '/'
#endif
#include "php_regex.h"