From: Andi Gutmans Date: Sun, 1 Oct 2000 18:13:41 +0000 (+0000) Subject: - Remove unneeded IS_SLASH() definition. X-Git-Tag: php-4.0.3RC1~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5819b6d4a6bdcb6cd33431761d7d2430fed9a7ce;p=php - Remove unneeded IS_SLASH() definition. --- diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 2e862db77e..7fdbca2c8e 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -77,15 +77,6 @@ #include #endif -/* The following macros are borrowed from virtual_cwd.c and should be put in - * a joint header file when we move virtual_cwd to TSRM */ -#ifdef ZEND_WIN32 -#define IS_SLASH(c) ((c) == '/' || (c) == '\\') -#else -#define IS_SLASH(c) ((c) == '/') -#endif - - typedef FILE * (*php_fopen_url_wrapper_t) (const char *, char *, int, int *, int *, char **) ; static FILE *php_fopen_url_wrapper(const char *, char *, int, int *, int *, char **);