Re: Win32 build broken
| From: | (Marcus Börger) | Date: | Wed, 17 Apr 2002 16:47:07 +0000 |
| Subject: | Re: Win32 build broken | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-82913@lists.php.net to get a copy of this message | ||
No that was S_ISDIR was introduced by me to have this -c option work correctly.
I had a short email discussion with Yasuo about the macros i used and their
availability in Windows and we both thought they are available in Windows.
Maybe we have to check whether to use S_ISDIR directly or have it defined using
S_IFMT/S_IFDIR which *should* be available in MickySoft.
Could you give the following a try please:
#ifndef S_ISDIR
#define S_ISDIR( m ) (((m) & S_IFMT) == S_IFDIR)#endif marcus At 09:57 17.04.2002, Wez Furlong wrote:
On 17/04/02, "Sebastian Bergmann" <sebastian@php.net> wrote: c:\home\php\php4\main\php_ini.c(271): warning C4013: 'S_ISDIR': undefined php_ini.obj: error LNK2001: Unresolved external symbol _S_ISDIR I would suspect my last change to main/php.h to be the cause. I moved the stream/wrapper related includes to occur after the definition of MAXPATHLEN so that they can use it. I don't have time to try building under win32 right now; I have a go later this evening. --Wez. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php