sl@0
|
1 |
/*
|
sl@0
|
2 |
* Portions Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
|
sl@0
|
3 |
*
|
sl@0
|
4 |
* Copyright (c) 1999
|
sl@0
|
5 |
* Boris Fomitchev
|
sl@0
|
6 |
*
|
sl@0
|
7 |
* This material is provided "as is", with absolutely no warranty expressed
|
sl@0
|
8 |
* or implied. Any use is at your own risk.
|
sl@0
|
9 |
*
|
sl@0
|
10 |
* Permission to use or copy this software for any purpose is hereby granted
|
sl@0
|
11 |
* without fee, provided the above notices are retained on all copies.
|
sl@0
|
12 |
* Permission to modify the code and to distribute modified code is granted,
|
sl@0
|
13 |
* provided the above notices are retained, and a notice that the code was
|
sl@0
|
14 |
* modified is included with the above copyright notice.
|
sl@0
|
15 |
*
|
sl@0
|
16 |
*/
|
sl@0
|
17 |
|
sl@0
|
18 |
/* Workaround for a "misbehaviour" when compiling resource scripts using
|
sl@0
|
19 |
* eMbedded Visual C++. The standard .rc file includes windows header files,
|
sl@0
|
20 |
* which in turn include stdarg.h, which results in warnings and errors
|
sl@0
|
21 |
*/
|
sl@0
|
22 |
#if !defined(RC_INVOKED)
|
sl@0
|
23 |
|
sl@0
|
24 |
# ifndef _STLP_OUTERMOST_HEADER_ID
|
sl@0
|
25 |
# define _STLP_OUTERMOST_HEADER_ID 0x264
|
sl@0
|
26 |
# include <stl/_prolog.h>
|
sl@0
|
27 |
# elif (_STLP_OUTERMOST_HEADER_ID == 0x264) && !defined (_STLP_DONT_POP_HEADER_ID)
|
sl@0
|
28 |
# define _STLP_DONT_POP_HEADER_ID
|
sl@0
|
29 |
# endif
|
sl@0
|
30 |
|
sl@0
|
31 |
# if defined(_STLP_WCE_EVC3)
|
sl@0
|
32 |
struct _exception;
|
sl@0
|
33 |
# endif
|
sl@0
|
34 |
# include _STLP_NATIVE_C_HEADER(stdio.h)
|
sl@0
|
35 |
|
sl@0
|
36 |
# if defined (__SUNPRO_CC) && !defined (_STRUCT_FILE)
|
sl@0
|
37 |
# define _STRUCT_FILE
|
sl@0
|
38 |
# endif
|
sl@0
|
39 |
|
sl@0
|
40 |
# if ((defined (__MWERKS__) && !defined (N_PLAT_NLM)) || defined (__BORLANDC__)) && !defined (__SYMBIAN32__)
|
sl@0
|
41 |
# undef stdin
|
sl@0
|
42 |
# undef stdout
|
sl@0
|
43 |
# undef stderr
|
sl@0
|
44 |
# if defined (__MWERKS__)
|
sl@0
|
45 |
# define stdin (&_STLP_VENDOR_CSTD::__files[0])
|
sl@0
|
46 |
# define stdout (&_STLP_VENDOR_CSTD::__files[1])
|
sl@0
|
47 |
# define stderr (&_STLP_VENDOR_CSTD::__files[2])
|
sl@0
|
48 |
# elif defined (__BORLANDC__)
|
sl@0
|
49 |
# define stdin (&_STLP_VENDOR_CSTD::_streams[0])
|
sl@0
|
50 |
# define stdout (&_STLP_VENDOR_CSTD::_streams[1])
|
sl@0
|
51 |
# define stderr (&_STLP_VENDOR_CSTD::_streams[2])
|
sl@0
|
52 |
# endif
|
sl@0
|
53 |
# endif
|
sl@0
|
54 |
|
sl@0
|
55 |
# if (_STLP_OUTERMOST_HEADER_ID == 0x264)
|
sl@0
|
56 |
# if !defined (_STLP_DONT_POP_HEADER_ID)
|
sl@0
|
57 |
# include <stl/_epilog.h>
|
sl@0
|
58 |
# undef _STLP_OUTERMOST_HEADER_ID
|
sl@0
|
59 |
# else
|
sl@0
|
60 |
# undef _STLP_DONT_POP_HEADER_ID
|
sl@0
|
61 |
# endif
|
sl@0
|
62 |
# endif
|
sl@0
|
63 |
|
sl@0
|
64 |
#endif /* RC_INVOKED */
|