cheap change to fix solaris compilation. I can make this a static inline if desired

llvm-svn: 39970
This commit is contained in:
Gabor Greif 2007-07-17 11:05:49 +00:00
parent 6881ace037
commit bea1390e68
1 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,12 @@
#include "clang/Basic/TargetInfo.h" #include "clang/Basic/TargetInfo.h"
#include "llvm/ADT/APInt.h" #include "llvm/ADT/APInt.h"
#include "llvm/ADT/StringExtras.h" #include "llvm/ADT/StringExtras.h"
#include "llvm/Config/config.h"
#if HAVE_STRTOF
#else
# define strtof strtod
#endif
using namespace clang; using namespace clang;
/// HexDigitValue - Return the value of the specified hex digit, or -1 if it's /// HexDigitValue - Return the value of the specified hex digit, or -1 if it's