chkconf.h 1006 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Name: wx/dfb/chkconf.h
  3. * Author: Vaclav Slavik
  4. * Purpose: Compiler-specific configuration checking
  5. * Created: 2006-08-10
  6. * Copyright: (c) 2006 REA Elektronik GmbH
  7. * Licence: wxWindows licence
  8. */
  9. /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
  10. #ifndef _WX_DFB_CHKCONF_H_
  11. #define _WX_DFB_CHKCONF_H_
  12. #ifndef __WXUNIVERSAL__
  13. # error "wxDirectFB cannot be built without wxUniversal"
  14. #endif
  15. #if !wxUSE_CONFIG
  16. # error "wxFileConfig is required by wxDFB port"
  17. #endif
  18. #if wxUSE_SOCKETS && !wxUSE_CONSOLE_EVENTLOOP
  19. # ifdef wxABORT_ON_CONFIG_ERROR
  20. # error "wxSocket requires wxSelectDispatcher in wxDFB"
  21. # else
  22. # undef wxUSE_CONSOLE_EVENTLOOP
  23. # define wxUSE_CONSOLE_EVENTLOOP 1
  24. # endif
  25. #endif
  26. #if wxUSE_DATAOBJ
  27. # ifdef wxABORT_ON_CONFIG_ERROR
  28. # error "wxDataObject not supported in wxDFB"
  29. # else
  30. # undef wxUSE_DATAOBJ
  31. # define wxUSE_DATAOBJ 0
  32. # endif
  33. #endif
  34. #endif /* _WX_DFB_CHKCONF_H_ */