5 * This material is provided "as is", with absolutely no warranty expressed
6 * or implied. Any use is at your own risk.
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.
16 /* Workaround for a "misbehaviour" when compiling resource scripts using
17 * eMbedded Visual C++. The standard .rc file includes windows header files,
18 * which in turn include string.h, which results in warnings and errors
20 #ifndef _STLP_STRING_H
22 #if !defined (RC_INVOKED)
24 # ifndef _STLP_OUTERMOST_HEADER_ID
25 # define _STLP_OUTERMOST_HEADER_ID 0x269
26 # include <stl/_cprolog.h>
27 # elif (_STLP_OUTERMOST_HEADER_ID == 0x269) && !defined (_STLP_DONT_POP_HEADER_ID)
28 # define _STLP_DONT_POP_HEADER_ID
29 # define _STLP_STRING_H
32 # if defined(_STLP_WCE_EVC3)
35 # if (_STLP_OUTERMOST_HEADER_ID != 0x269) || defined (_STLP_DONT_POP_HEADER_ID)
36 # if defined (_STLP_HAS_INCLUDE_NEXT)
37 # include_next <string.h>
39 # include _STLP_NATIVE_C_HEADER(string.h)
42 # if defined (__BORLANDC__) && !defined (__linux__)
43 # if defined (_STLP_HAS_INCLUDE_NEXT)
44 # include_next <_str.h>
46 # include _STLP_NATIVE_CPP_C_HEADER(_str.h)
49 # if defined (_STLP_HAS_INCLUDE_NEXT)
50 # include_next <string.h>
52 # include _STLP_NATIVE_C_HEADER(string.h)
57 # if (_STLP_OUTERMOST_HEADER_ID == 0x269)
58 # if !defined (_STLP_DONT_POP_HEADER_ID)
59 # include <stl/_epilog.h>
60 # undef _STLP_OUTERMOST_HEADER_ID
62 # undef _STLP_DONT_POP_HEADER_ID
65 #endif /* RC_INVOKED */
66 #endif /* _STLP_STRING_H */