build/stlport/src/stlport_prefix.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 #ifndef STLPORT_PREFIX_H
     2 #define STLPORT_PREFIX_H
     4 #define __BUILDING_STLPORT 1
     6 #if defined (_WIN32) || defined (WIN32)
     7 #  ifdef __cplusplus
     8 #    define WIN32_LEAN_AND_MEAN
     9 #    define NOSERVICE
    10 #  endif
    11 #endif
    13 #undef _STLP_NO_FORCE_INSTANTIATE
    15 /* Please add extra compilation switches for particular compilers here */
    17 #if defined (_MSC_VER) && !defined (__COMO__) && !defined (__MWERKS__)
    18 #  include "warning_disable.h"
    19 #endif
    21 #include <stl/config/features.h>
    23 #if defined (_STLP_USE_TEMPLATE_EXPORT) && defined (_STLP_USE_DECLSPEC) && !defined (_STLP_EXPOSE_GLOBALS_IMPLEMENTATION)
    24 #  define _STLP_EXPOSE_GLOBALS_IMPLEMENTATION
    25 #endif
    27 #ifdef __cplusplus
    29 #  include <ctime>
    30 #  if defined (_STLP_USE_NAMESPACES) && !defined (_STLP_VENDOR_GLOBAL_CSTD)
    31 using _STLP_VENDOR_CSTD::time_t;
    32 #  endif
    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
    40 #endif /* __cplusplus */
    42 #endif /* PREFIX */

mercurial