os/ossrv/genericopenlibs/cppstdlib/stl/src/stlport_prefix.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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 #  if !(defined (__CYGWIN__) || defined (_WIN32_WCE))
    12 #    define _STLP_REAL_LOCALE_IMPLEMENTED
    13 #  endif
    14 #endif
    15 
    16 #undef _STLP_NO_FORCE_INSTANTIATE
    17 
    18 /* Please add extra compilation switches for particular compilers here */
    19 
    20 #if defined (_MSC_VER) && !defined (__COMO__) && !defined (__MWERKS__)
    21 #  include "warning_disable.h"
    22 #endif
    23 
    24 #include <stl/config/features.h>
    25 
    26 #if defined (_STLP_USE_TEMPLATE_EXPORT) && defined (_STLP_USE_DECLSPEC) && !defined (_STLP_EXPOSE_GLOBALS_IMPLEMENTATION)
    27 #  define _STLP_EXPOSE_GLOBALS_IMPLEMENTATION
    28 #endif
    29 
    30 #ifdef __cplusplus
    31 
    32 #  include <ctime>
    33 #  if defined (_STLP_USE_NAMESPACES) && !defined (_STLP_VENDOR_GLOBAL_CSTD)
    34 using _STLP_VENDOR_CSTD::time_t;
    35 #  endif
    36 
    37 #  if defined (_STLP_FUNCTION_TMPL_PARTIAL_ORDER)
    38 #    define _STLP_OPERATOR_SPEC _STLP_DECLSPEC
    39 #  else
    40 #    define _STLP_OPERATOR_SPEC _STLP_TEMPLATE_NULL _STLP_DECLSPEC
    41 #  endif
    42 
    43 #endif /* __cplusplus */
    44 
    45 #endif /* PREFIX */
    46