utility 2.0 KB

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