cstdio 1.8 KB

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