mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Add a useful #define
This commit is contained in:
parent
03b6b37157
commit
1c27165161
@ -47,6 +47,7 @@
|
||||
typedef unsigned short mode_t;
|
||||
|
||||
#define DEFAULT_SLASH '\\'
|
||||
#define DEFAULT_DIR_SEPARATOR ';'
|
||||
#define IS_SLASH(c) ((c) == '/' || (c) == '\\')
|
||||
#define COPY_WHEN_ABSOLUTE 2
|
||||
#define IS_ABSOLUTE_PATH(path, len) \
|
||||
@ -60,6 +61,7 @@ typedef unsigned short mode_t;
|
||||
#endif
|
||||
|
||||
#define DEFAULT_SLASH '/'
|
||||
#define DEFAULT_DIR_SEPARATOR ':'
|
||||
#define IS_SLASH(c) ((c) == '/')
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user