Skip to content

Commit 4807b16

Browse files
committed
This macro is defined in zend_virtual_cwd.h, avoid redef
1 parent 0935463 commit 4807b16

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

main/win95nt.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ typedef char * caddr_t;
3939
#define _IFLNK 0120000 /* symbolic link */
4040
#define S_IFIFO _IFIFO
4141
#define S_IFBLK _IFBLK
42-
#define S_IFLNK _IFLNK
42+
#ifndef S_IFLNK
43+
# define S_IFLNK _IFLNK
44+
#endif
4345
#define chdir(path) _chdir(path)
4446
#define mkdir(a, b) _mkdir(a)
4547
#define rmdir(a) _rmdir(a)

0 commit comments

Comments
 (0)