mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
Netware related changes/modifications.
This commit is contained in:
parent
2fc8358e3a
commit
e46b0bfa79
2 changed files with 3 additions and 0 deletions
|
@ -25,10 +25,12 @@
|
||||||
#pragma alloca
|
#pragma alloca
|
||||||
# else
|
# else
|
||||||
# ifndef alloca /* predefined by HP cc +Olibcalls */
|
# ifndef alloca /* predefined by HP cc +Olibcalls */
|
||||||
|
# ifndef NETWARE
|
||||||
char *alloca ();
|
char *alloca ();
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_UNISTD_H
|
#if HAVE_UNISTD_H
|
||||||
|
|
|
@ -70,6 +70,7 @@ typedef unsigned short mode_t;
|
||||||
#define DEFAULT_SLASH '/'
|
#define DEFAULT_SLASH '/'
|
||||||
#define DEFAULT_DIR_SEPARATOR ';'
|
#define DEFAULT_DIR_SEPARATOR ';'
|
||||||
#define IS_SLASH(c) ((c) == '/' || (c) == '\\')
|
#define IS_SLASH(c) ((c) == '/' || (c) == '\\')
|
||||||
|
#define IS_SLASH_P(c) (*(c) == '/' || *(c) == '\\')
|
||||||
#define COPY_WHEN_ABSOLUTE(path) \
|
#define COPY_WHEN_ABSOLUTE(path) \
|
||||||
(strchr(path, ':') - path + 1) /* Take the volume name which ends with a colon */
|
(strchr(path, ':') - path + 1) /* Take the volume name which ends with a colon */
|
||||||
#define IS_ABSOLUTE_PATH(path, len) \
|
#define IS_ABSOLUTE_PATH(path, len) \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue