config-mac.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #ifndef _INCLUDE_CPPUNIT_CONFIG_MAC_H
  2. #define _INCLUDE_CPPUNIT_CONFIG_MAC_H 1
  3. /* MacOS X should be installed using the configure script.
  4. This file is for other macs.
  5. It is not integrated into <cppunit/Portability.h> because we don't
  6. know a suitable preprocessor symbol that will distinguish MacOS X
  7. from other MacOS versions. Email us if you know the answer.
  8. */
  9. /* define if library uses std::string::compare(string,pos,n) */
  10. #ifdef CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
  11. #undef CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
  12. #endif
  13. /* define if the library defines strstream */
  14. #ifndef CPPUNIT_HAVE_CLASS_STRSTREAM
  15. #define CPPUNIT_HAVE_CLASS_STRSTREAM 1
  16. #endif
  17. /* Define if you have the <cmath> header file. */
  18. #ifdef CPPUNIT_HAVE_CMATH
  19. #undef CPPUNIT_HAVE_CMATH
  20. #endif
  21. /* Define if you have the <dlfcn.h> header file. */
  22. #ifdef CPPUNIT_HAVE_DLFCN_H
  23. #undef CPPUNIT_HAVE_DLFCN_H
  24. #endif
  25. /* define to 1 if the compiler implements namespaces */
  26. #ifndef CPPUNIT_HAVE_NAMESPACES
  27. #define CPPUNIT_HAVE_NAMESPACES 1
  28. #endif
  29. /* define if the compiler supports Run-Time Type Identification */
  30. #ifndef CPPUNIT_HAVE_RTTI
  31. #define CPPUNIT_HAVE_RTTI 1
  32. #endif
  33. /* define if the compiler has stringstream */
  34. #ifndef CPPUNIT_HAVE_SSTREAM
  35. #define CPPUNIT_HAVE_SSTREAM 1
  36. #endif
  37. /* Define if you have the <strstream> header file. */
  38. #ifndef CPPUNIT_HAVE_STRSTREAM
  39. #define CPPUNIT_HAVE_STRSTREAM 1
  40. #endif
  41. /* Define to 1 to use type_info::name() for class names */
  42. #ifndef CPPUNIT_USE_TYPEINFO_NAME
  43. #define CPPUNIT_USE_TYPEINFO_NAME CPPUNIT_HAVE_RTTI
  44. #endif
  45. /* _INCLUDE_CPPUNIT_CONFIG_MAC_H */
  46. #endif