File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,8 @@ CWD_API realpath_cache_bucket** realpath_cache_get_buckets(void);
342
342
#endif
343
343
344
344
#ifndef S_IFLNK
345
- # define S_IFLNK 0120000
345
+ #define _IFLNK 0120000 /* symbolic link */
346
+ #define S_IFLNK _IFLNK
346
347
#endif
347
348
348
349
#ifndef S_ISDIR
@@ -361,4 +362,15 @@ CWD_API realpath_cache_bucket** realpath_cache_get_buckets(void);
361
362
#define S_IXROOT ( S_IXUSR | S_IXGRP | S_IXOTH )
362
363
#endif
363
364
365
+ /* XXX should be _S_IFIFO? */
366
+ #ifndef S_IFIFO
367
+ #define _IFIFO 0010000 /* fifo */
368
+ #define S_IFIFO _IFIFO
369
+ #endif
370
+
371
+ #ifndef S_IFBLK
372
+ #define _IFBLK 0060000 /* block special */
373
+ #define S_IFBLK _IFBLK
374
+ #endif
375
+
364
376
#endif /* VIRTUAL_CWD_H */
Original file line number Diff line number Diff line change @@ -34,14 +34,6 @@ typedef int uid_t;
34
34
typedef int gid_t ;
35
35
typedef char * caddr_t ;
36
36
#define lstat (x , y ) php_sys_lstat(x, y)
37
- #define _IFIFO 0010000 /* fifo */
38
- #define _IFBLK 0060000 /* block special */
39
- #define _IFLNK 0120000 /* symbolic link */
40
- #define S_IFIFO _IFIFO
41
- #define S_IFBLK _IFBLK
42
- #ifndef S_IFLNK
43
- # define S_IFLNK _IFLNK
44
- #endif
45
37
#define chdir (path ) _chdir(path)
46
38
#define mkdir (a , b ) _mkdir(a)
47
39
#define rmdir (a ) _rmdir(a)
You can’t perform that action at this time.
0 commit comments