]> granicus.if.org Git - clang/commit
AIX system headers need stdint.h and inttypes.h to be re-enterable
authorXing Xue <xingxue@outlook.com>
Thu, 20 Jun 2019 15:36:32 +0000 (15:36 +0000)
committerXing Xue <xingxue@outlook.com>
Thu, 20 Jun 2019 15:36:32 +0000 (15:36 +0000)
commit0b4099d3849be7f3a2c3197a5f4a80a5c5569051
treed1a3d5e5b9d561c24823bc471bcca0d7c9cb71c0
parent2eca76d86f4e9f5f82719c7fb09f79b5dea84f87
AIX system headers need stdint.h and inttypes.h to be re-enterable

Summary:
AIX system headers need stdint.h and inttypes.h to be re-enterable when macro _STD_TYPES_T is defined so that limit macro definitions such as UINT32_MAX can be found. This patch attempts to allow that on AIX.

Reviewers: hubert.reinterpretcast, jasonliu, mclow.lists, EricWF

Reviewed by: hubert.reinterpretcast, mclow.lists

Subscribers: jfb, jsji, christof, cfe-commits, libcxx-commits, llvm-commits

Tags: #LLVM, #clang, #libc++

Differential Revision: https://reviews.llvm.org/D59253

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363939 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/inttypes.h
lib/Headers/stdint.h