_cstring.h 980 B

1234567891011121314151617181920212223242526272829303132333435
  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_INTERNAL_CSTRING
  16. #define _STLP_INTERNAL_CSTRING
  17. #if defined (_STLP_USE_NEW_C_HEADERS)
  18. # if defined (_STLP_HAS_INCLUDE_NEXT)
  19. # include_next <cstring>
  20. # else
  21. # include _STLP_NATIVE_CPP_C_HEADER(cstring)
  22. # endif
  23. #else
  24. # include <string.h>
  25. #endif
  26. #ifdef _STLP_IMPORT_VENDOR_CSTD
  27. _STLP_BEGIN_NAMESPACE
  28. # include <using/cstring>
  29. _STLP_END_NAMESPACE
  30. #endif /* _STLP_IMPORT_VENDOR_CSTD */
  31. #endif /* _STLP_INTERNAL_CSTRING */