]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/HelpGen/src/ifcontext.cpp
corrections for compilation under Mac OS X
[wxWidgets.git] / utils / HelpGen / src / ifcontext.cpp
index 3b2698a6392fd461804c71f9ba9dd23e66678e66..be08a59330bd16ee10f427aa486829be49bd5bfd 100644 (file)
@@ -10,8 +10,7 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
-#pragma implementation "ifcontext.h"
-#pragma interface
+#  pragma implementation "ifcontext.h"
 #endif
 
 // For compilers that support precompilation, includes "wx/wx.h".
@@ -25,7 +24,9 @@
 #include "wx/wx.h"
 #endif
 
-#include <malloc.h>
+#ifdef HAVE_MALLOC_H
+#  include <malloc.h>
+#endif
 #include <stdio.h>
 
 #include "ifcontext.h"