1 //===-- include/Support/DataTypesFix.h - Fix datatype defs ------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
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
14 //===----------------------------------------------------------------------===//
16 #ifndef SUPPORT_DATATYPESFIX_H
17 #define SUPPORT_DATATYPESFIX_H
19 #include "llvm/Config/config.h"
21 #if defined(_POWER) && defined(_AIX)
22 // GCC is strict about defining large constants: they must have LL modifier.
24 #define INT64_MAX 9223372036854775807LL
26 #define INT64_MIN (-INT64_MAX-1)
29 #endif /* SUPPORT_DATATYPESFIX_H */