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.

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

mercurial