+#if defined (__WXMAC__)
+# if !defined(WORDS_BIGENDIAN) && ( !defined(__MACH__) || ( defined(__BIG_ENDIAN__) && __BIG_ENDIAN__ ) )
+# define WORDS_BIGENDIAN 1
+# endif
+#endif
+
+/* Choose which method we will use for updating menus
+ * - in OnIdle, or when we receive a wxEVT_MENU_OPEN event.
+ * Presently, only Windows and GTK+ support wxEVT_MENU_OPEN.
+ */
+#ifndef wxUSE_IDLEMENUUPDATES
+# if (defined(__WXMSW__) || defined(__WXGTK__)) && !defined(__WXUNIVERSAL__)
+# define wxUSE_IDLEMENUUPDATES 0
+# else
+# define wxUSE_IDLEMENUUPDATES 1
+# endif
+#endif
+
+/*
+ * Define symbols that are not yet in
+ * configure or possibly some setup.h files.
+ * They will need to be added.
+ */
+
+#ifndef wxUSE_FILECONFIG
+# if wxUSE_CONFIG
+# define wxUSE_FILECONFIG 1
+# else
+# define wxUSE_FILECONFIG 0
+# endif
+#endif
+
+#ifndef wxUSE_HOTKEY
+# define wxUSE_HOTKEY 0
+#endif
+
+#if !defined(wxUSE_WXDIB) && defined(__WXMSW__)
+# define wxUSE_WXDIB 1
+#endif
+
+/*
+ We need AvailabilityMacros.h for ifdefing out things that don't exist on
+ OSX 10.2 and lower
+ FIXME: We need a better way to detect for 10.3 then including a system header
+*/
+#ifdef __DARWIN__
+ #include <AvailabilityMacros.h>
+#endif