BumpPtrAllocator: do the size check without moving any pointers
[oota-llvm.git] / include / llvm / Support / AIXDataTypesFix.h
1 //===-- llvm/Support/AIXDataTypesFix.h - Fix datatype defs ------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file overrides default system-defined types and limits which cannot be
11 // done in DataTypes.h.in because it is processed by autoheader first, which
12 // comments out any #undef statement
13 //
14 //===----------------------------------------------------------------------===//
15
16 // No include guards desired!
17
18 #ifndef SUPPORT_DATATYPES_H
19 #error "AIXDataTypesFix.h must only be included via DataTypes.h!"
20 #endif
21
22 // GCC is strict about defining large constants: they must have LL modifier.
23 // These will be defined properly at the end of DataTypes.h
24 #undef INT64_MAX
25 #undef INT64_MIN