2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * To get a strict ANSI C environment, define macro _STRICT_ANSI. This will
16 * "comment out" the non-ANSI parts of the ANSI header files (non-ANSI header
17 * files aren't affected).
28 Epoc32 STDLIB is an ANSI environment and expects an ANSI C compiler
29 MSVC is however an environment which doesn't define __STDC__, so
30 we fix it up in here...
40 From GCC 2.5 onwards it is possible to tell the compiler that functions
41 don't return, which would stop some warnings while building STDLIB
44 #define _ATTRIBUTE(attrs) __attribute__ (attrs)
46 #define _ATTRIBUTE(attrs)
55 It is needed to annotate the functions which will be exported from the ESTLIB DLL,
56 but mustn't conflict with the definitions in <e32std.h>
59 #define IMPORT_C __declspec(dllexport)
60 #define EXPORT_C __declspec(dllexport)
64 #define IMPORT_C __declspec(dllexport)
65 #define EXPORT_C __declspec(dllexport)
70 #define EXPORT_C __declspec(dllexport)
83 #endif /* _ANSIDECL_H_ */