# endif
#endif /* wxUSE_VARIANT */
-#ifndef wxUSE_WEAKREF
-# ifdef wxABORT_ON_CONFIG_ERROR
-# error "wxUSE_WEAKREF must be defined."
-# else
-# define wxUSE_WEAKREF 0
-# endif
-#endif /* wxUSE_WEAKREF */
-
#ifndef wxUSE_XLOCALE
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_XLOCALE must be defined."
#endif /* !defined(wxUSE_HTML) */
#ifndef wxUSE_LIBMSPACK
-# ifndef __UNIX__
+# if !defined(__UNIX__) || defined(__WXPALMOS__)
/* set to 0 on platforms that don't have libmspack */
# define wxUSE_LIBMSPACK 0
# else