added a few more consistency tests which used to be in wx\msw\setup.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-05-01 16:15:01 +00:00
parent 62402193ce
commit c7f3eecc52

View File

@ -50,6 +50,14 @@
# endif # endif
#endif /* !defined(wxUSE_DYNLIB_CLASS) */ #endif /* !defined(wxUSE_DYNLIB_CLASS) */
#ifndef wxUSE_FILESYSTEM
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_FILESYSTEM must be defined."
# else
# define wxUSE_FILESYSTEM 0
# endif
#endif /* !defined(wxUSE_FILESYSTEM) */
/* don't give an error about this one yet, it's not fully implemented */ /* don't give an error about this one yet, it's not fully implemented */
#ifndef wxUSE_FSVOLUME #ifndef wxUSE_FSVOLUME
# define wxUSE_FSVOLUME 0 # define wxUSE_FSVOLUME 0
@ -725,11 +733,33 @@
# endif # endif
#endif /* wxUSE_PROTOCOL */ #endif /* wxUSE_PROTOCOL */
/* non GUI settings */ /* have to test for wxUSE_HTML before wxUSE_FILESYSTEM */
#if wxUSE_STOPWATCH #if wxUSE_HTML
# if !wxUSE_FILESYSTEM
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxHTML requires wxFileSystem"
# else
# undef wxUSE_FILESYSTEM
# define wxUSE_FILESYSTEM 1
# endif
# endif
#endif /* wxUSE_HTML */
#if wxUSE_FILESYSTEM
# if !wxUSE_STREAMS
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_FILESYSTEM requires wxUSE_STREAMS"
# else
# undef wxUSE_STREAMS
# define wxUSE_STREAMS 1
# endif
# endif
#endif /* wxUSE_FILESYSTEM */
#if wxUSE_STOPWATCH || wxUSE_DATETIME
# if !wxUSE_LONGLONG # if !wxUSE_LONGLONG
# ifdef wxABORT_ON_CONFIG_ERROR # ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_STOPWATCH requires wxUSE_LONGLONG" # error "wxUSE_STOPWATCH and wxUSE_DATETIME require wxUSE_LONGLONG"
# else # else
# undef wxUSE_LONGLONG # undef wxUSE_LONGLONG
# define wxUSE_LONGLONG 1 # define wxUSE_LONGLONG 1