From: Jim Laskey Date: Wed, 8 Nov 2006 17:19:29 +0000 (+0000) Subject: Add backup support for HUGH_VALF. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d96e180da0a9395ac54960d4cc3d0b469fa11009;p=oota-llvm.git Add backup support for HUGH_VALF. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31553 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/DataTypes.h.in b/include/llvm/Support/DataTypes.h.in index 26a0873151b..81d4cff3e36 100644 --- a/include/llvm/Support/DataTypes.h.in +++ b/include/llvm/Support/DataTypes.h.in @@ -117,4 +117,8 @@ typedef signed int ssize_t; #define END_WITH_NULL #endif +#ifndef HUGE_VALF +#define HUGE_VALF (float)HUGE_VAL +#endif + #endif /* SUPPORT_DATATYPES_H */