[webkit-changes] cvs commit: WebCore/khtml/misc main_thread_malloc.h
Darin
darin at opensource.apple.com
Sun Aug 14 21:58:52 PDT 2005
darin 05/08/14 21:58:51
Modified: . ChangeLog
khtml/misc main_thread_malloc.h
Log:
- fixed build of some unit tests
* khtml/misc/main_thread_malloc.h: We use functions from <stdlib.h> here in
debug mode, so #include <stdlib.h>.
Revision Changes Path
1.4576 +7 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.4575
retrieving revision 1.4576
diff -u -r1.4575 -r1.4576
--- ChangeLog 15 Aug 2005 04:36:47 -0000 1.4575
+++ ChangeLog 15 Aug 2005 04:58:39 -0000 1.4576
@@ -1,5 +1,12 @@
2005-08-14 Darin Adler <darin at apple.com>
+ - fixed build of some unit tests
+
+ * khtml/misc/main_thread_malloc.h: We use functions from <stdlib.h> here in
+ debug mode, so #include <stdlib.h>.
+
+2005-08-14 Darin Adler <darin at apple.com>
+
Reviewed by Maciej.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4422
1.3 +5 -1 WebCore/khtml/misc/main_thread_malloc.h
Index: main_thread_malloc.h
===================================================================
RCS file: /cvs/root/WebCore/khtml/misc/main_thread_malloc.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- main_thread_malloc.h 26 Apr 2005 21:20:28 -0000 1.2
+++ main_thread_malloc.h 15 Aug 2005 04:58:51 -0000 1.3
@@ -29,6 +29,10 @@
// while holding the collector lock (this is true whenenever the interpreter is
// executing or GC is taking place).
+#ifndef NDEBUG
+#include <stdlib.h>
+#endif
+
namespace khtml {
#ifndef NDEBUG
@@ -53,6 +57,6 @@
#endif
-};
+}
#endif /* KHTMLMAINTTHREADMALLOC_H */
More information about the webkit-changes
mailing list