[cfe-commits] [PATCH] Fixing include order for Windows

Sebastian Redl sebastian.redl at getdesigned.at
Mon Feb 20 01:46:28 PST 2012


On 20.02.2012 09:06, Chandler Carruth wrote:
> Here is an initial cut at adding an MSVC compatible 'intrin.h' builtin 
> header. I've left a FIXME to fill in the MS-specific intrinsics. This 
> should at least provide a place to begin fleshing out the intrinsics.
>

> +/* Unless we're compiling targeting MSVC platform, this header shouldn't even
> + **exist*. If there is a system header with the same name, defer to that,
> + * etherwise produce an error for the user.
> + */
> +#ifndef _MSC_VER
> +# if defined(__has_inclued_next)&&  __has_inclued_next(<intrin.h>)
> +#  include_next<intrin.h>
> +# else
> +
s/inclued/include/

Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120220/adb76741/attachment.html>


More information about the cfe-commits mailing list