/home/ntakagi/work/STLport-5.1.5/stlport/string.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 1999
00003  * Boris Fomitchev
00004  *
00005  * This material is provided "as is", with absolutely no warranty expressed
00006  * or implied. Any use is at your own risk.
00007  *
00008  * Permission to use or copy this software for any purpose is hereby granted
00009  * without fee, provided the above notices are retained on all copies.
00010  * Permission to modify the code and to distribute modified code is granted,
00011  * provided the above notices are retained, and a notice that the code was
00012  * modified is included with the above copyright notice.
00013  *
00014  */
00015 
00016 /* Workaround for a "misbehaviour" when compiling resource scripts using
00017  * eMbedded Visual C++. The standard .rc file includes windows header files,
00018  * which in turn include string.h, which results in warnings and errors
00019  */
00020 #ifndef _STLP_STRING_H
00021 
00022 #if !defined (RC_INVOKED)
00023 
00024 #  ifndef _STLP_OUTERMOST_HEADER_ID
00025 #    define _STLP_OUTERMOST_HEADER_ID 0x269
00026 #    include <stl/_prolog.h>
00027 #  elif (_STLP_OUTERMOST_HEADER_ID == 0x269) && !defined (_STLP_DONT_POP_HEADER_ID)
00028 #    define _STLP_DONT_POP_HEADER_ID
00029 #    define _STLP_STRING_H
00030 #  endif
00031 
00032 #  if defined(_STLP_WCE_EVC3)
00033 struct _exception;
00034 #  endif
00035 #  if (_STLP_OUTERMOST_HEADER_ID != 0x269) || defined (_STLP_DONT_POP_HEADER_ID)
00036 #    include _STLP_NATIVE_C_HEADER(string.h)
00037 #  else
00038 #    if defined (__BORLANDC__)
00039 #      include _STLP_NATIVE_CPP_C_HEADER(_str.h)
00040 #    else
00041 #      include _STLP_NATIVE_C_HEADER(string.h)
00042 #    endif
00043 
00044 #    if (_STLP_OUTERMOST_HEADER_ID == 0x269)
00045 #      if defined (__BORLANDC__) && defined (_STLP_IMPORT_VENDOR_CSTD)
00046 #        include <using/cstring>
00047 #      endif /* BORLAND */
00048 #    endif
00049 #  endif
00050 
00051 #  if (_STLP_OUTERMOST_HEADER_ID == 0x269)
00052 #    if !defined (_STLP_DONT_POP_HEADER_ID)
00053 #      include <stl/_epilog.h>
00054 #      undef _STLP_OUTERMOST_HEADER_ID
00055 #    else
00056 #      undef _STLP_DONT_POP_HEADER_ID
00057 #    endif
00058 #  endif
00059 #endif /* RC_INVOKED */
00060 #endif /* _STLP_STRING_H */



Generated on Mon Mar 10 15:32:47 2008 by  doxygen 1.5.1