diff options
-rw-r--r-- | include/llvm/Support/DataTypes.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Support/DataTypes.h.in b/include/llvm/Support/DataTypes.h.in index 26a0873151..81d4cff3e3 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 */ |