From d96e180da0a9395ac54960d4cc3d0b469fa11009 Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Wed, 8 Nov 2006 17:19:29 +0000 Subject: [PATCH] Add backup support for HUGH_VALF. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31553 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/DataTypes.h.in | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- 2.34.1