_epilog.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. #ifndef _STLP_PROLOG_HEADER_INCLUDED
  7. # error STLport epilog header can not be included as long as prolog has not be included.
  8. #endif
  9. /* If the platform provides any specific epilog actions,
  10. * like #pragmas, do include platform-specific prolog file
  11. */
  12. #if defined (_STLP_HAS_SPECIFIC_PROLOG_EPILOG)
  13. # include <stl/config/_epilog.h>
  14. #endif
  15. #if !defined (_STLP_NO_POST_COMPATIBLE_SECTION)
  16. # include <stl/_config_compat_post.h>
  17. #endif
  18. #if defined (_STLP_USE_OWN_NAMESPACE)
  19. # if !defined (_STLP_DONT_REDEFINE_STD)
  20. /* We redefine "std" to STLPORT, so that user code may use std:: transparently
  21. * The STLPORT macro contains the STLport namespace name containing all the std
  22. * stuff.
  23. */
  24. # if defined (std)
  25. /*
  26. * Looks like the compiler native library on which STLport rely defined the std macro.
  27. * This might introduce major incompatibility so report the problem to the STLport
  28. * forum or comment the following #error at your own risk.
  29. */
  30. # error Incompatible native Std library.
  31. # endif /* std */
  32. # define std STLPORT
  33. # endif /* _STLP_DONT_REDEFINE_STD */
  34. #endif
  35. #undef _STLP_PROLOG_HEADER_INCLUDED /* defined in _prolog.h */