[cfe-commits] r39970 - /cfe/trunk/Lex/LiteralSupport.cpp
Gabor Greif
ggreif at gmail.com
Tue Jul 17 04:05:50 PDT 2007
Author: ggreif
Date: Tue Jul 17 06:05:49 2007
New Revision: 39970
URL: http://llvm.org/viewvc/llvm-project?rev=39970&view=rev
Log:
cheap change to fix solaris compilation. I can make this a static inline if desired
Modified:
cfe/trunk/Lex/LiteralSupport.cpp
Modified: cfe/trunk/Lex/LiteralSupport.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Lex/LiteralSupport.cpp?rev=39970&r1=39969&r2=39970&view=diff
==============================================================================
--- cfe/trunk/Lex/LiteralSupport.cpp (original)
+++ cfe/trunk/Lex/LiteralSupport.cpp Tue Jul 17 06:05:49 2007
@@ -19,6 +19,12 @@
#include "clang/Basic/TargetInfo.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/StringExtras.h"
+#include "llvm/Config/config.h"
+#if HAVE_STRTOF
+#else
+# define strtof strtod
+#endif
+
using namespace clang;
/// HexDigitValue - Return the value of the specified hex digit, or -1 if it's
More information about the cfe-commits
mailing list