/project/jni/stlport/stlport/string.h

https://github.com/aichunyu/FFPlayer · C Header · 60 lines · 36 code · 6 blank · 18 comment · 14 complexity · fe166207872bdecbec32e79b2b52bc83 MD5 · raw file

  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. /* Workaround for a "misbehaviour" when compiling resource scripts using
  16. * eMbedded Visual C++. The standard .rc file includes windows header files,
  17. * which in turn include string.h, which results in warnings and errors
  18. */
  19. #ifndef _STLP_STRING_H
  20. #if !defined (RC_INVOKED)
  21. # ifndef _STLP_OUTERMOST_HEADER_ID
  22. # define _STLP_OUTERMOST_HEADER_ID 0x269
  23. # include <stl/_prolog.h>
  24. # elif (_STLP_OUTERMOST_HEADER_ID == 0x269) && !defined (_STLP_DONT_POP_HEADER_ID)
  25. # define _STLP_DONT_POP_HEADER_ID
  26. # define _STLP_STRING_H
  27. # endif
  28. # if defined(_STLP_WCE_EVC3)
  29. struct _exception;
  30. # endif
  31. # if (_STLP_OUTERMOST_HEADER_ID != 0x269) || defined (_STLP_DONT_POP_HEADER_ID)
  32. # include _STLP_NATIVE_C_HEADER(string.h)
  33. # else
  34. # if defined (__BORLANDC__)
  35. # include _STLP_NATIVE_CPP_C_HEADER(_str.h)
  36. # else
  37. # include _STLP_NATIVE_C_HEADER(string.h)
  38. # endif
  39. # if (_STLP_OUTERMOST_HEADER_ID == 0x269)
  40. # if defined (__BORLANDC__) && defined (_STLP_IMPORT_VENDOR_CSTD)
  41. # include <using/cstring>
  42. # endif /* BORLAND */
  43. # endif
  44. # endif
  45. # if (_STLP_OUTERMOST_HEADER_ID == 0x269)
  46. # if !defined (_STLP_DONT_POP_HEADER_ID)
  47. # include <stl/_epilog.h>
  48. # undef _STLP_OUTERMOST_HEADER_ID
  49. # else
  50. # undef _STLP_DONT_POP_HEADER_ID
  51. # endif
  52. # endif
  53. #endif /* RC_INVOKED */
  54. #endif /* _STLP_STRING_H */