]> granicus.if.org Git - clang/commit
Add an inttypes.h wrapper that fixes up some macros in Microsoft mode.
authorNico Weber <nicolasweber@gmx.de>
Fri, 26 Jun 2015 00:13:18 +0000 (00:13 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 26 Jun 2015 00:13:18 +0000 (00:13 +0000)
commita41fa8a4747a5d551673febf5a368f789d0cd743
tree15fefa75495366bcf5e82e22f0da265f24c73c94
parenta6b6dbe12e6ff2986d3c1a9b6627a9e2978a20dd
Add an inttypes.h wrapper that fixes up some macros in Microsoft mode.

Before MSVS2015, MSVS's headers disagree about int32_t and PRIx32 and so on.
Provide a wrapper header to fix this, so that -Wformat can still be used.
Fixes PR23412.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@240741 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/inttypes.h [new file with mode: 0644]