]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/HelpGen/src/srcparser.cpp
fix for palette restoration in wxToolBarSimple
[wxWidgets.git] / utils / HelpGen / src / srcparser.cpp
index 81d84ed431568a3b8632028e8b6d5acf548728fc..54068894019c1cf59a8e9885b9a9d3baf9d5fa05 100644 (file)
@@ -10,8 +10,7 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
-#pragma implementation "srcparser.h"
-#pragma interface
+#  pragma implementation "srcparser.h"
 #endif
 
 // For compilers that support precompilation, includes "wx/wx.h".
@@ -25,7 +24,9 @@
 #include "wx/wx.h"
 #endif
 
-#include <malloc.h>
+#ifndef __DARWIN__
+#  include <malloc.h>
+#endif
 #include <stdio.h>
 
 #include "srcparser.h"