/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
-#pragma implementation "acell.h"
-#pragma interface
+# pragma implementation "acell.h"
#endif
// For compilers that support precompilation, includes "wx/wx.h".
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
-#pragma implementation "ifcontext.h"
-#pragma interface
+# pragma implementation "ifcontext.h"
#endif
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wx.h"
#endif
-#include <malloc.h>
+#ifdef HAVE_MALLOC_H
+# include <malloc.h>
+#endif
#include <stdio.h>
#include "ifcontext.h"
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
-#pragma implementation "srcparser.h"
-#pragma interface
+# pragma implementation "srcparser.h"
#endif
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wx.h"
#endif
-#include <malloc.h>
+#ifdef HAVE_MALLOC_H
+# include <malloc.h>
+#endif
#include <stdio.h>
#include "srcparser.h"
#endif
#include <stddef.h>
-#include <sys/types.h>
+#if !defined(__WXMAC__) || defined(__DARWIN__)
+# include <sys/types.h>
+#endif
#include <memory.h>
#include <limits.h>
#include <new.h>
#define ___WXSTL_COMMA ,
-#define __DEFINE_MAP(ARG_IS_UNIQUE, KEY_TYPE, VAL_TYPE, FUNCTOR ) __DEFINE_ASOC_CLASS( ARG_IS_UNIQUE,\
+#define __DEFINE_MAP(ARG_IS_UNIQUE, KEY_TYPE, VAL_TYPE, FUNCTOR ) \
+__DEFINE_ASOC_CLASS( ARG_IS_UNIQUE,\
FUNCTOR,\
__WXSTLMAP_##KEY_TYPE##VAL_TYPE##ARG_IS_UNIQUE, \
struct key_value_pair { KEY_TYPE first ; \
- VAL_TYPE second;\
- key_value_pair() {}\
- key_value_pair( const KEY_TYPE& key ___WXSTL_COMMA const VAL_TYPE& value ) \
- : first(key) ___WXSTL_COMMA second( value ) {} \
- } , \
+ VAL_TYPE second;\
+ key_value_pair() {}\
+ key_value_pair( const KEY_TYPE& key ___WXSTL_COMMA const VAL_TYPE& value ) \
+ : first(key) ___WXSTL_COMMA second( value ) {} \
+ } , \
KEY_TYPE,\
VAL_TYPE,\
mData.first, mData.second, x.first, x.second, \
return result;\
} )
-#define __DEFINE_SET(ARG_IS_UNIQUE, KEY_TYPE, FUNCTOR ) __DEFINE_ASOC_CLASS( ARG_IS_UNIQUE,\
+#define __DEFINE_SET(ARG_IS_UNIQUE, KEY_TYPE, FUNCTOR ) \
+__DEFINE_ASOC_CLASS( ARG_IS_UNIQUE,\
FUNCTOR,\
__WXSTLSET_##TYPE##ARG_IS_UNIQUE, \
KEY_TYPE,\