home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / stlpt453.zip / STLport-4.5.3 / stlport / stl / _epilog.h < prev    next >
C/C++ Source or Header  |  2001-11-14  |  1KB  |  42 lines

  1. /* NOTE : this header has no guards and is MEANT for multiple inclusion !
  2.  * If you are using "header protection" option with your compiler,
  3.  * please also find #pragma which disables it and put it here, to
  4.  * allow reentrancy of this header.
  5.  */
  6.  
  7. /* If the platform provides any specific epilog actions,
  8.    like #pragmas, do include platform-specific prolog file */
  9. # if defined (_STLP_HAS_SPECIFIC_PROLOG_EPILOG)
  10. #  include <config/_epilog.h>
  11. # endif
  12.  
  13. # ifndef _STLP_NO_POST_COMPATIBLE_SECTION
  14. #  include <stl/_config_compat_post.h>
  15. # endif
  16.  
  17. /* provide a mechanism to redefine std:: namespace in a way that is transparent to the 
  18.  * user. _STLP_REDEFINE_STD is being used for wrapper files that include native headers
  19.  * to temporary undef the std macro. */
  20. #  if ! defined ( _STLP_USE_NAMESPACES ) || (defined ( _STLP_USE_OWN_NAMESPACE ) \
  21.    && ! defined ( _STLP_DONT_REDEFINE_STD ))
  22. #   define _STLP_REDEFINE_STD 1
  23. #  endif
  24.  
  25. # if defined (_STLP_REDEFINE_STD)
  26. /*  We redefine "std" to "stlport", so that user code may use std:: transparently */
  27. #   undef  std
  28. #   define std STLPORT
  29. # else
  30. # if defined(__cplusplus)
  31. #  ifndef _STLP_CONFIG_H
  32. #   include <stl/_config.h>
  33. #  endif
  34. #  if defined (_STLP_USE_OWN_NAMESPACE) && defined (_STLP_OWN_IOSTREAMS)
  35. namespace _STLP_STD {}
  36. namespace std {
  37.   using namespace _STLP_STD;
  38. }
  39. #  endif
  40. # endif /* __cplusplus */
  41. # endif
  42.