williamr@4: /* NOTE : this header has no guards and is MEANT for multiple inclusion! williamr@4: * If you are using "header protection" option with your compiler, williamr@4: * please also find #pragma which disables it and put it here, to williamr@4: * allow reentrancy of this header. williamr@4: */ williamr@4: williamr@4: #ifndef _STLP_PROLOG_HEADER_INCLUDED williamr@4: # error STLport epilog header can not be included as long as prolog has not be included. williamr@4: #endif williamr@4: williamr@4: /* If the platform provides any specific epilog actions, williamr@4: * like #pragmas, do include platform-specific prolog file williamr@4: */ williamr@4: #if defined (_STLP_HAS_SPECIFIC_PROLOG_EPILOG) williamr@4: # include williamr@4: #endif williamr@4: williamr@4: #if !defined (_STLP_NO_POST_COMPATIBLE_SECTION) williamr@4: # include williamr@4: #endif williamr@4: williamr@4: #if defined (_STLP_USE_OWN_NAMESPACE) williamr@4: williamr@4: # if !defined (_STLP_DONT_REDEFINE_STD) williamr@4: /* We redefine "std" to STLPORT, so that user code may use std:: transparently williamr@4: * The STLPORT macro contains the STLport namespace name containing all the std williamr@4: * stuff. williamr@4: */ williamr@4: # if defined (std) williamr@4: /* williamr@4: * Looks like the compiler native library on which STLport rely defined the std macro. williamr@4: * This might introduce major incompatibility so report the problem to the STLport williamr@4: * forum or comment the following #error at your own risk. williamr@4: */ williamr@4: # error Incompatible native Std library. williamr@4: # endif /* std */ williamr@4: # define std STLPORT williamr@4: # endif /* _STLP_DONT_REDEFINE_STD */ williamr@4: williamr@4: #endif williamr@4: williamr@4: #undef _STLP_PROLOG_HEADER_INCLUDED /* defined in _prolog.h */ williamr@4: williamr@4: /*Below changes are added to make _STLP_DECLSPEC as _STLP_EXPORT_DECLSPEC at definition of the functions. williamr@4: In _prolog.h, _STLP_DECLSPEC will be defined as _STLP_IMPORT_DECLSPEC. williamr@4: */ williamr@4: # if defined (_STLP_DESIGNATED_DLL) williamr@4: # if defined (_STLP_DECLSPEC) williamr@4: # undef _STLP_DECLSPEC williamr@4: # endif williamr@4: # define _STLP_DECLSPEC _STLP_EXPORT_DECLSPEC williamr@4: # if defined (_STLP_CLASS_DECLSPEC) williamr@4: # undef _STLP_CLASS_DECLSPEC williamr@4: # endif williamr@4: # define _STLP_CLASS_DECLSPEC _STLP_CLASS_EXPORT_DECLSPEC williamr@4: # endif