chkconf.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * Name: wx/os2/chkconf.h
  3. * Purpose: Compiler-specific configuration checking
  4. * Author: Julian Smart
  5. * Modified by:
  6. * Created: 01/02/97
  7. * Copyright: (c) Julian Smart
  8. * Licence: wxWindows licence
  9. */
  10. /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
  11. #ifndef _WX_OS2_CHKCONF_H_
  12. #define _WX_OS2_CHKCONF_H_
  13. /*
  14. wxDisplay is not implemented for OS/2, use stub common version instead.
  15. */
  16. #if wxUSE_DISPLAY
  17. # undef wxUSE_DISPLAY
  18. # define wxUSE_DISPLAY 0
  19. #endif /* wxUSE_DISPLAY */
  20. /* Watcom builds for OS/2 port are setup.h driven and setup.h is
  21. automatically generated from include/wx/setup_inc.h so we have
  22. to disable here features not supported currently or enable
  23. features required */
  24. #ifdef __WATCOMC__
  25. #if wxUSE_STACKWALKER
  26. # undef wxUSE_STACKWALKER
  27. # define wxUSE_STACKWALKER 0
  28. #endif /* wxUSE_STACKWALKER */
  29. #if !wxUSE_POSTSCRIPT
  30. # undef wxUSE_POSTSCRIPT
  31. # define wxUSE_POSTSCRIPT 1
  32. #endif
  33. #if wxUSE_MS_HTML_HELP
  34. # undef wxUSE_MS_HTML_HELP
  35. # define wxUSE_MS_HTML_HELP 0
  36. #endif
  37. #endif /* __WATCOM__ */
  38. #endif /* _WX_OS2_CHKCONF_H_ */