build/stlport/src/stlport_prefix.h

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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