Home | History | Annotate | Download | only in stlport
      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 
     23 #ifndef _STLP_UTILITY
     24 
     25 #ifndef _STLP_OUTERMOST_HEADER_ID
     26 #  define _STLP_OUTERMOST_HEADER_ID 0x75
     27 #  include <stl/_prolog.h>
     28 #elif (_STLP_OUTERMOST_HEADER_ID == 0x75) && !defined (_STLP_DONT_POP_HEADER_ID)
     29 #  define _STLP_DONT_POP_HEADER_ID
     30 #  define _STLP_UTILITY
     31 #endif
     32 
     33 #if (_STLP_OUTERMOST_HEADER_ID == 0x75) && !defined (_STLP_DONT_POP_HEADER_ID)
     34 #  ifndef _STLP_INTERNAL_PAIR_H
     35 #    include <stl/_pair.h>
     36 #  endif
     37 #endif
     38 
     39 #if (_STLP_OUTERMOST_HEADER_ID != 0x75) || defined (_STLP_DONT_POP_HEADER_ID) || defined (_STLP_IMPORT_VENDOR_STD)
     40 #  if defined (_STLP_HAS_INCLUDE_NEXT)
     41 #    include_next <utility>
     42 #  else
     43 #    include _STLP_NATIVE_HEADER(utility)
     44 #  endif
     45 #endif
     46 
     47 #if (_STLP_OUTERMOST_HEADER_ID == 0x75)
     48 #  if !defined (_STLP_DONT_POP_HEADER_ID)
     49 #    include <stl/_epilog.h>
     50 #    undef _STLP_OUTERMOST_HEADER_ID
     51 #  else
     52 #    undef _STLP_DONT_POP_HEADER_ID
     53 #  endif
     54 #endif
     55 
     56 #endif /* _STLP_UTILITY */
     57 
     58 // Local Variables:
     59 // mode:C++
     60 // End:
     61