os/ossrv/genericopenlibs/cppstdlib/stl/src/stlport_prefix.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
#ifndef STLPORT_PREFIX_H
sl@0
     2
#define STLPORT_PREFIX_H
sl@0
     3
sl@0
     4
#define __BUILDING_STLPORT 1
sl@0
     5
sl@0
     6
#if defined (_WIN32) || defined (WIN32)
sl@0
     7
#  ifdef __cplusplus
sl@0
     8
#    define WIN32_LEAN_AND_MEAN
sl@0
     9
#    define NOSERVICE
sl@0
    10
#  endif
sl@0
    11
#  if !(defined (__CYGWIN__) || defined (_WIN32_WCE))
sl@0
    12
#    define _STLP_REAL_LOCALE_IMPLEMENTED
sl@0
    13
#  endif
sl@0
    14
#endif
sl@0
    15
sl@0
    16
#undef _STLP_NO_FORCE_INSTANTIATE
sl@0
    17
sl@0
    18
/* Please add extra compilation switches for particular compilers here */
sl@0
    19
sl@0
    20
#if defined (_MSC_VER) && !defined (__COMO__) && !defined (__MWERKS__)
sl@0
    21
#  include "warning_disable.h"
sl@0
    22
#endif
sl@0
    23
sl@0
    24
#include <stl/config/features.h>
sl@0
    25
sl@0
    26
#if defined (_STLP_USE_TEMPLATE_EXPORT) && defined (_STLP_USE_DECLSPEC) && !defined (_STLP_EXPOSE_GLOBALS_IMPLEMENTATION)
sl@0
    27
#  define _STLP_EXPOSE_GLOBALS_IMPLEMENTATION
sl@0
    28
#endif
sl@0
    29
sl@0
    30
#ifdef __cplusplus
sl@0
    31
sl@0
    32
#  include <ctime>
sl@0
    33
#  if defined (_STLP_USE_NAMESPACES) && !defined (_STLP_VENDOR_GLOBAL_CSTD)
sl@0
    34
using _STLP_VENDOR_CSTD::time_t;
sl@0
    35
#  endif
sl@0
    36
sl@0
    37
#  if defined (_STLP_FUNCTION_TMPL_PARTIAL_ORDER)
sl@0
    38
#    define _STLP_OPERATOR_SPEC _STLP_DECLSPEC
sl@0
    39
#  else
sl@0
    40
#    define _STLP_OPERATOR_SPEC _STLP_TEMPLATE_NULL _STLP_DECLSPEC
sl@0
    41
#  endif
sl@0
    42
sl@0
    43
#endif /* __cplusplus */
sl@0
    44
sl@0
    45
#endif /* PREFIX */
sl@0
    46