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

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


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.

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/47c51c51/attachment.bin>


More information about the xorg-devel mailing list