sl@0: /* sl@0: * Copyright (c) 1999 sl@0: * Boris Fomitchev sl@0: * sl@0: * This material is provided "as is", with absolutely no warranty expressed sl@0: * or implied. Any use is at your own risk. sl@0: * sl@0: * Permission to use or copy this software for any purpose is hereby granted sl@0: * without fee, provided the above notices are retained on all copies. sl@0: * Permission to modify the code and to distribute modified code is granted, sl@0: * provided the above notices are retained, and a notice that the code was sl@0: * modified is included with the above copyright notice. sl@0: * sl@0: */ sl@0: sl@0: /* Workaround for a "misbehaviour" when compiling resource scripts using sl@0: * eMbedded Visual C++. The standard .rc file includes windows header files, sl@0: * which in turn include string.h, which results in warnings and errors sl@0: */ sl@0: #ifndef _STLP_STRING_H sl@0: sl@0: #if !defined (RC_INVOKED) sl@0: sl@0: # ifndef _STLP_OUTERMOST_HEADER_ID sl@0: # define _STLP_OUTERMOST_HEADER_ID 0x269 sl@0: # include sl@0: # elif (_STLP_OUTERMOST_HEADER_ID == 0x269) && !defined (_STLP_DONT_POP_HEADER_ID) sl@0: # define _STLP_DONT_POP_HEADER_ID sl@0: # define _STLP_STRING_H sl@0: # endif sl@0: sl@0: # if defined(_STLP_WCE_EVC3) sl@0: struct _exception; sl@0: # endif sl@0: # if (_STLP_OUTERMOST_HEADER_ID != 0x269) || defined (_STLP_DONT_POP_HEADER_ID) sl@0: # include _STLP_NATIVE_C_HEADER(string.h) sl@0: # else sl@0: # if defined (__BORLANDC__) sl@0: # include _STLP_NATIVE_CPP_C_HEADER(_str.h) sl@0: # else sl@0: # include _STLP_NATIVE_C_HEADER(string.h) sl@0: # endif sl@0: sl@0: # if (_STLP_OUTERMOST_HEADER_ID == 0x269) sl@0: # if defined (__BORLANDC__) && defined (_STLP_IMPORT_VENDOR_CSTD) sl@0: # include sl@0: # endif /* BORLAND */ sl@0: # endif sl@0: # endif sl@0: sl@0: # if (_STLP_OUTERMOST_HEADER_ID == 0x269) sl@0: # if !defined (_STLP_DONT_POP_HEADER_ID) sl@0: # include sl@0: # undef _STLP_OUTERMOST_HEADER_ID sl@0: # else sl@0: # undef _STLP_DONT_POP_HEADER_ID sl@0: # endif sl@0: # endif sl@0: #endif /* RC_INVOKED */ sl@0: #endif /* _STLP_STRING_H */