utility 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*
  2. *
  3. * Copyright (c) 1994
  4. * Hewlett-Packard Company
  5. *
  6. * Copyright (c) 1996,1997
  7. * Silicon Graphics Computer Systems, Inc.
  8. *
  9. * Copyright (c) 1999
  10. * Boris Fomitchev
  11. *
  12. * This material is provided "as is", with absolutely no warranty expressed
  13. * or implied. Any use is at your own risk.
  14. *
  15. * Permission to use or copy this software for any purpose is hereby granted
  16. * without fee, provided the above notices are retained on all copies.
  17. * Permission to modify the code and to distribute modified code is granted,
  18. * provided the above notices are retained, and a notice that the code was
  19. * modified is included with the above copyright notice.
  20. *
  21. */
  22. #ifndef _STLP_UTILITY
  23. #ifndef _STLP_OUTERMOST_HEADER_ID
  24. # define _STLP_OUTERMOST_HEADER_ID 0x75
  25. # include <stl/_prolog.h>
  26. #elif (_STLP_OUTERMOST_HEADER_ID == 0x75) && !defined (_STLP_DONT_POP_HEADER_ID)
  27. # define _STLP_DONT_POP_HEADER_ID
  28. # define _STLP_UTILITY
  29. #endif
  30. #if (_STLP_OUTERMOST_HEADER_ID == 0x75) && !defined (_STLP_DONT_POP_HEADER_ID)
  31. # ifndef _STLP_INTERNAL_PAIR_H
  32. # include <stl/_pair.h>
  33. # endif
  34. #endif
  35. #if (_STLP_OUTERMOST_HEADER_ID != 0x75) || defined (_STLP_DONT_POP_HEADER_ID) || defined (_STLP_IMPORT_VENDOR_STD)
  36. # if defined (_STLP_HAS_INCLUDE_NEXT)
  37. # include_next <utility>
  38. # else
  39. # include _STLP_NATIVE_HEADER(utility)
  40. # endif
  41. #endif
  42. #if (_STLP_OUTERMOST_HEADER_ID == 0x75)
  43. # if !defined (_STLP_DONT_POP_HEADER_ID)
  44. # include <stl/_epilog.h>
  45. # undef _STLP_OUTERMOST_HEADER_ID
  46. # else
  47. # undef _STLP_DONT_POP_HEADER_ID
  48. # endif
  49. #endif
  50. #endif /* _STLP_UTILITY */
  51. // Local Variables:
  52. // mode:C++
  53. // End: