From: Wu Y. <ad...@ne...> - 2002-05-31 05:57:53
|
No, I think the first reference should be an error. I myself just verified that only _MAX_PATH exists in stdlib.h of MSVC 6. Best regards, Wu Yongwei --- Original Message from Earnir Boyd --- Steven Edwards wrote: > > I am using the current release of the w32api (1.4) and MSYS for my WINE > port. This is the first of two bugs I will need the Mingw teams help on. > > When I am building the wine dlls/programs, I keep getting a warning > about MAX_PATH being redefined in WINE's windef.h from a previous > definition in MINGW's stdlib.h. Its only a warning but is annoying as > hell. Alexandre wont accept a work around patch because the windows > headers define MAX_PATH in windef.h not stdlib.h. > This reference tells me that MAX_PATH is defined in stdlib.h: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/still/hh/st ill/wiasfncs_6uuh.asp This reference tells me that MAX_PATH is defined in windef.h: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fax/faxbosr ef_4rzs.asp > I can fix this myself and submit a patch to you, but I thought there may > be some MINGW specific reason why it was in stdlib.h > Your patch should merely consist of the proper #ifndef guards. Earnie. |