[webkit-changes] cvs commit: JavaScriptCore/kjs simple_number.h
Darin
darin at opensource.apple.com
Sat Sep 10 11:58:56 PDT 2005
darin 05/09/10 11:58:55
Modified: . ChangeLog
kjs simple_number.h
Log:
- fixed compilation for WebCore
* kjs/simple_number.h: Have to include <cmath> here to work around a bug in the GCC
standard C++ library headers.
Revision Changes Path
1.822 +7 -0 JavaScriptCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/JavaScriptCore/ChangeLog,v
retrieving revision 1.821
retrieving revision 1.822
diff -u -r1.821 -r1.822
--- ChangeLog 10 Sep 2005 18:24:42 -0000 1.821
+++ ChangeLog 10 Sep 2005 18:58:54 -0000 1.822
@@ -1,5 +1,12 @@
2005-09-10 Darin Adler <darin at apple.com>
+ - fixed compilation for WebCore
+
+ * kjs/simple_number.h: Have to include <cmath> here to work around a bug in the GCC
+ standard C++ library headers.
+
+2005-09-10 Darin Adler <darin at apple.com>
+
Windows changes by Krzysztof Kowalczyk <kkowalczyk at gmail.com>.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4870
1.13 +7 -0 JavaScriptCore/kjs/simple_number.h
Index: simple_number.h
===================================================================
RCS file: /cvs/root/JavaScriptCore/kjs/simple_number.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- simple_number.h 10 Sep 2005 18:24:43 -0000 1.12
+++ simple_number.h 10 Sep 2005 18:58:55 -0000 1.13
@@ -26,6 +26,13 @@
#include <math.h>
#include <string.h>
+// Workaround for a bug in GCC library headers.
+// We'd prefer to just use math.h.
+#if !WIN32
+#include <cmath>
+using std::signbit;
+#endif
+
namespace KJS {
class ValueImp;
More information about the webkit-changes
mailing list