[PATCH lib/libXmu 1/2] Include <direct.h> for _getdrives() on Win32

David Macek david.macek.0 at gmail.com
Sat Mar 28 08:54:18 PDT 2015


On 28. 3. 2015 16:31, David Macek wrote:
> On 19. 3. 2015 15:18, Jon TURNEY wrote:
>>  src/RdBitF.c | 1 +
>>
>>  #ifdef WIN32
>>  #include <X11/Xwindows.h>
>> +#include <direct.h>            /* for _getdrives() */
>>  #endif
> 
> This _getdrives() call seems to be guarded by
> 
> #if defined(WIN32)
> 
> ... which doesn't match the include's guard. Again, I can't tell if that could cause any problems.

Disregard that. It's WIN32 in both places, which is correct.

> It's also inconsistent with libXt's Intrinsic.c, but that's not a fault of this patch.

-- 
David Macek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4234 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150328/27962c05/attachment-0001.bin>


More information about the xorg-devel mailing list