home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / cstring.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  687 b   |  29 lines

  1. /*  cstring.h
  2.  
  3.     Standard C header file wrapper for string.h
  4. */
  5.  
  6. /*
  7.  *      C/C++ Run Time Library - Version 10.0
  8.  *
  9.  *      Copyright (c) 1997, 2000 by Inprise Corporation
  10.  *      All Rights Reserved.
  11.  *
  12.  */
  13.  
  14. /* $Revision:   9.4  $ */
  15.  
  16. #define  __USING_CNAME__
  17. #include <_str.h>
  18. #if !defined(__USING_STD_NAMES__) && !defined(__STD_STRING)
  19. /* Include the STL string class for backwards support if the user includes
  20.    <cstring.h>.  Else this is an include of <cstring> and our previous include
  21.    of _str.h will suffice.
  22. */
  23. #  undef   __USING_CNAME__
  24. #  include <string.stl>
  25.    using std::string;
  26. #endif  /* __USING_STD_NAMES__ */
  27.  
  28. #undef   __USING_CNAME__
  29.