[PATCH lib/libXt 1/2] Include direct.h header for _getdrives() on Win32

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


On 19. 3. 2015 15:18, Jon TURNEY wrote:
>  src/Intrinsic.c | 3 +++
> 
> +#ifdef _WIN32
> +#include <direct.h>            /* for _getdrives() */
> +#endif

AFAICT, the _getdrives() call is guarded by

#if defined(WIN32) && !defined(__MINGW32__)

... which doesn't match the include's guard. I can't tell if that could cause any problems though.

-- 
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/1e614414/attachment.bin>


More information about the xorg-devel mailing list