stlport_prefix.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef STLPORT_PREFIX_H
  2. #define STLPORT_PREFIX_H
  3. #define __BUILDING_STLPORT 1
  4. #if defined (_WIN32) || defined (WIN32)
  5. # ifdef __cplusplus
  6. # define WIN32_LEAN_AND_MEAN
  7. # define NOSERVICE
  8. # endif
  9. #endif
  10. #undef _STLP_NO_FORCE_INSTANTIATE
  11. /* Please add extra compilation switches for particular compilers here */
  12. #if defined (_MSC_VER) && !defined (__COMO__) && !defined (__MWERKS__)
  13. # include "warning_disable.h"
  14. #endif
  15. #include <stl/config/features.h>
  16. #if defined (_STLP_USE_TEMPLATE_EXPORT) && defined (_STLP_USE_DECLSPEC) && !defined (_STLP_EXPOSE_GLOBALS_IMPLEMENTATION)
  17. # define _STLP_EXPOSE_GLOBALS_IMPLEMENTATION
  18. #endif
  19. #ifdef __cplusplus
  20. #if !defined (_STLP_SGX_CONFIG)
  21. # include <ctime>
  22. # if defined (_STLP_USE_NAMESPACES) && !defined (_STLP_VENDOR_GLOBAL_CSTD)
  23. using _STLP_VENDOR_CSTD::time_t;
  24. # endif
  25. #endif /* !_STLP_SGX_CONFIG */
  26. # if defined (_STLP_FUNCTION_TMPL_PARTIAL_ORDER)
  27. # define _STLP_OPERATOR_SPEC _STLP_DECLSPEC
  28. # else
  29. # define _STLP_OPERATOR_SPEC _STLP_TEMPLATE_NULL _STLP_DECLSPEC
  30. # endif
  31. #endif /* __cplusplus */
  32. #endif /* PREFIX */