diff options
author | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2009-11-02 22:28:12 +0000 |
---|---|---|
committer | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2009-11-02 22:28:12 +0000 |
commit | 92bd8c70a6837b647a6c55964f8d0a50bf561dbc (patch) | |
tree | e59eb467143bb2a3386e1319711a7f1a6e8e7231 /lib/Headers/stdint.h | |
parent | cf9c789d449e088814c9e254d48112c96c8c6c6a (diff) |
Added __has_include and __has_include_next.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Headers/stdint.h')
-rw-r--r-- | lib/Headers/stdint.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Headers/stdint.h b/lib/Headers/stdint.h index a7020d838e..f79a0f4af5 100644 --- a/lib/Headers/stdint.h +++ b/lib/Headers/stdint.h @@ -28,7 +28,8 @@ /* If we're hosted, fall back to the system's stdint.h, which might have * additional definitions. */ -#if __STDC_HOSTED__ +#if __STDC_HOSTED__ && \ + defined(__has_include_next) && __has_include_next(<stdint.h>) # include_next <stdint.h> #else |