diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-08-06 12:37:52 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-08-06 12:37:52 +0000 |
| commit | 7617cb844086c00f7068a13e9d44fa1c673b8698 (patch) | |
| tree | 6ed477a3bd31e41d39fb4201df56b429d89c586f /clang/lib | |
| parent | 7c5dee428058b847b4e02695c1bea5888a36fc00 (diff) | |
| download | bcm5719-llvm-7617cb844086c00f7068a13e9d44fa1c673b8698.tar.gz bcm5719-llvm-7617cb844086c00f7068a13e9d44fa1c673b8698.zip | |
Define _INTEGRAL_MAX_BITS for the win32 and win64 targets, from Per Lindén!
llvm-svn: 110442
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Basic/Targets.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 10395658c10..40a029673e5 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/lib/Basic/Targets.cpp @@ -1349,6 +1349,7 @@ public: // 300=386, 400=486, 500=Pentium, 600=Blend (default) // We lost the original triple, so we use the default. Builder.defineMacro("_M_IX86", "600"); + Builder.defineMacro("_INTEGRAL_MAX_BITS", "64"); } }; } // end anonymous namespace @@ -1488,6 +1489,7 @@ public: MacroBuilder &Builder) const { WindowsX86_64TargetInfo::getTargetDefines(Opts, Builder); Builder.defineMacro("_M_X64"); + Builder.defineMacro("_INTEGRAL_MAX_BITS", "64"); } }; } // end anonymous namespace |

