diff options
author | Ken Dyck <ken.dyck@onsemi.com> | 2009-11-22 15:41:04 +0000 |
---|---|---|
committer | Ken Dyck <ken.dyck@onsemi.com> | 2009-11-22 15:41:04 +0000 |
commit | 3e945c8cd8519d0973f14088d938fbc8eee9dc3c (patch) | |
tree | ada2d32814bb73b811930efed4e3e3aaa0b61e79 /lib/Frontend | |
parent | 9787d0a14cc22e592a8d36b4b03be384e9466027 (diff) |
Define __SIG_ATOMIC_WIDTH__ for use in stdint.h.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89597 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend')
-rw-r--r-- | lib/Frontend/InitPreprocessor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Frontend/InitPreprocessor.cpp b/lib/Frontend/InitPreprocessor.cpp index a6b4e652a4..972c21f88d 100644 --- a/lib/Frontend/InitPreprocessor.cpp +++ b/lib/Frontend/InitPreprocessor.cpp @@ -401,6 +401,7 @@ static void InitializePredefinedMacros(const TargetInfo &TI, DefineTypeWidth("__WCHAR_WIDTH__", TI.getWCharType(), TI, Buf); DefineType("__WINT_TYPE__", TI.getWIntType(), Buf); DefineTypeWidth("__WINT_WIDTH__", TI.getWIntType(), TI, Buf); + DefineTypeWidth("__SIG_ATOMIC_WIDTH__", TI.getSigAtomicType(), TI, Buf); DefineFloatMacros(Buf, "FLT", &TI.getFloatFormat()); DefineFloatMacros(Buf, "DBL", &TI.getDoubleFormat()); |