[cfe-commits] [patch] include_next <float.h> on windows for _msc_ver too, not just for __mingw32__

Jordan Rose jediknil at belkadan.com
Wed Apr 25 14:14:50 PDT 2012


On Apr 25, 2012, at 14:32, Matthieu Monrocq wrote:
> I know of two mechanism in lit:
> 
> - REQUIRES (such as REQUIRES: shell)
> - XFAIL (such as XFAIL: mingw, win32)
> 
> I do not know if REQUIRES could be used with platforms (as XFAIL) and blacklisting does not seem very interesting...
> 
> Is there a set of builtin such as __has_include that would detect whether an include_next exist ?
> 
> -- Matthieu

I believe there is, in fact, a __has_include_next. You can see the usage in has_include.c.

Jordy






More information about the cfe-commits mailing list