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