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

Nico Weber thakis at chromium.org
Tue Apr 24 13:54:29 PDT 2012


Hi,

the attached patch expands the include_next for <float.h> on windows
to happen for _msc_ver too.

The test case for this is:

#include <float.h>

inline bool IsFinite(const double& number) {
  return _finite(number) != 0;
}

But since that test depends on having MinGW's or MSVC's float.h, I
didn't add it to the patch.

Ok?

Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-ms-float.patch
Type: application/octet-stream
Size: 507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120424/ced9cb63/attachment.obj>


More information about the cfe-commits mailing list