cstdio 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. #ifndef _STLP_CSTDIO
  16. #ifndef _STLP_OUTERMOST_HEADER_ID
  17. # define _STLP_OUTERMOST_HEADER_ID 0x15
  18. # include <stl/_prolog.h>
  19. #elif (_STLP_OUTERMOST_HEADER_ID == 0x15) && !defined (_STLP_DONT_POP_HEADER_ID)
  20. # define _STLP_DONT_POP_HEADER_ID
  21. # define _STLP_CSTDIO
  22. #endif
  23. #if (_STLP_OUTERMOST_HEADER_ID == 0x15) && !defined (_STLP_DONT_POP_HEADER_ID)
  24. # ifndef _STLP_INTERNAL_CSTDIO
  25. # include <stl/_cstdio.h>
  26. # endif
  27. #endif
  28. #if (_STLP_OUTERMOST_HEADER_ID != 0x15) || defined (_STLP_DONT_POP_HEADER_ID) || defined (_STLP_IMPORT_VENDOR_STD)
  29. # if defined (_STLP_HAS_INCLUDE_NEXT)
  30. # include_next <cstdio>
  31. # else
  32. # include _STLP_NATIVE_CPP_C_HEADER(cstdio)
  33. # endif
  34. #endif
  35. #if (_STLP_OUTERMOST_HEADER_ID == 0x15)
  36. # if !defined (_STLP_DONT_POP_HEADER_ID)
  37. # include <stl/_epilog.h>
  38. # undef _STLP_OUTERMOST_HEADER_ID
  39. # else
  40. # undef _STLP_DONT_POP_HEADER_ID
  41. # endif
  42. #endif
  43. #endif
  44. // Local Variables:
  45. // mode:C++
  46. // End: