31
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#if defined (_STLP_MSVC) || defined (__ICL)
|
|
19 |
|
|
20 |
# if !defined (_STLP_MSVC) || (_STLP_MSVC >= 1200)
|
|
21 |
# pragma warning(push)
|
|
22 |
# endif
|
|
23 |
# include <stl/config/_warnings_off.h>
|
|
24 |
/* We are forcing the alignment to guaranty that libraries are use
|
|
25 |
* with the same alignment as the one use to build them.
|
|
26 |
*/
|
|
27 |
# if !defined (_WIN64)
|
|
28 |
# pragma pack(push, 8)
|
|
29 |
# else
|
|
30 |
# pragma pack(push, 16)
|
|
31 |
# endif
|
|
32 |
|
|
33 |
#elif defined (__BORLANDC__)
|
|
34 |
|
|
35 |
# pragma option push
|
|
36 |
# pragma option -Vx- -Ve- -a8 -b -pc
|
|
37 |
# include <stl/config/_warnings_off.h>
|
|
38 |
|
|
39 |
#elif defined (__sgi) && !defined (__GNUC__) && (_MIPS_SIM != _MIPS_SIM_ABI32)
|
|
40 |
|
|
41 |
# pragma set woff 1209
|
|
42 |
# pragma set woff 1174
|
|
43 |
# pragma set woff 1375
|
|
44 |
/* from iterator_base.h */
|
|
45 |
# pragma set woff 1183
|
|
46 |
|
|
47 |
#elif defined (__DECCXX)
|
|
48 |
|
|
49 |
# ifdef __PRAGMA_ENVIRONMENT
|
|
50 |
# pragma __environment __save
|
|
51 |
# pragma __environment __header_defaults
|
|
52 |
# endif
|
|
53 |
|
|
54 |
#elif defined (__IBMCPP__)
|
|
55 |
/* supress EDC3130: A constant is being used as a conditional expression */
|
|
56 |
# pragma info(nocnd)
|
|
57 |
|
|
58 |
#elif defined (__HP_aCC)
|
|
59 |
/* _REENTRANT selects Posix 1c threads unless draft4 selected.
|
|
60 |
* * This usage is obsolescent, "-D_POSIX_C_SOURCE=199506" is preferred */
|
|
61 |
# if 0 /* defined (_REENTRANT) && ! defined (_POSIX_C_SOURCE) */
|
|
62 |
# define _POSIX_C_SOURCE 199506
|
|
63 |
# endif
|
|
64 |
#elif defined (__WATCOMCPLUSPLUS__)
|
|
65 |
# pragma warning 604 10 /* must lookahead to determine... */
|
|
66 |
# pragma warning 594 10 /* resolved as declaration/type */
|
|
67 |
# pragma warning 595 10 /* resolved as an expression */
|
|
68 |
#endif
|