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