From 4807b164fd801381ded0f13c3643f56ef427cda9 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Mon, 22 Jun 2015 14:02:04 +0200 Subject: [PATCH] This macro is defined in zend_virtual_cwd.h, avoid redef --- main/win95nt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/win95nt.h b/main/win95nt.h index 12356eeccd..84c3647afc 100644 --- a/main/win95nt.h +++ b/main/win95nt.h @@ -39,7 +39,9 @@ typedef char * caddr_t; #define _IFLNK 0120000 /* symbolic link */ #define S_IFIFO _IFIFO #define S_IFBLK _IFBLK -#define S_IFLNK _IFLNK +#ifndef S_IFLNK +# define S_IFLNK _IFLNK +#endif #define chdir(path) _chdir(path) #define mkdir(a, b) _mkdir(a) #define rmdir(a) _rmdir(a) -- 2.40.0