Home | History | Annotate | Download | only in stlport
      1 /*
      2  * Copyright (c) 1997
      3  * Silicon Graphics Computer Systems, Inc.
      4  *
      5  * Permission to use, copy, modify, distribute and sell this software
      6  * and its documentation for any purpose is hereby granted without fee,
      7  * provided that the above copyright notice appear in all copies and
      8  * that both that copyright notice and this permission notice appear
      9  * in supporting documentation.  Silicon Graphics makes no
     10  * representations about the suitability of this software for any
     11  * purpose.  It is provided "as is" without express or implied warranty.
     12  *
     13  */
     14 
     15 #ifndef _STLP_SLIST
     16 #define _STLP_SLIST
     17 
     18 #ifndef _STLP_OUTERMOST_HEADER_ID
     19 #  define _STLP_OUTERMOST_HEADER_ID 0x58
     20 #  include <stl/_prolog.h>
     21 #endif
     22 
     23 #ifdef _STLP_PRAGMA_ONCE
     24 #  pragma once
     25 #endif
     26 
     27 #if defined (_STLP_NO_EXTENSIONS)
     28 /* Comment following if you want to use the slist constainer even if you ask for
     29  * no extension.
     30  */
     31 #  error The slist class is an STLport extension.
     32 #endif
     33 
     34 #ifndef _STLP_INTERNAL_SLIST_H
     35 #  include <stl/_slist.h>
     36 #endif
     37 
     38 #if defined (_STLP_IMPORT_VENDOR_STD)
     39 //This is not a Standard header, it might failed for most of
     40 //the compilers so we comment it for the moment. Should be uncommented
     41 //on a compiler basis.
     42 //#  include _STLP_NATIVE_HEADER(slist)
     43 #endif
     44 
     45 #if (_STLP_OUTERMOST_HEADER_ID == 0x58)
     46 #  include <stl/_epilog.h>
     47 #  undef _STLP_OUTERMOST_HEADER_ID
     48 #endif
     49 
     50 #endif /* _STLP_SLIST */
     51 
     52 // Local Variables:
     53 // mode:C++
     54 // End:
     55