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 |
|
|
19 |
#include <platform_paths.hrh>
|
|
20 |
|
|
21 |
/**
|
|
22 |
@file
|
|
23 |
@SYMPurpose libz.dll zlib compression library
|
|
24 |
*/
|
|
25 |
|
|
26 |
|
|
27 |
TARGET libz.dll
|
|
28 |
TARGETTYPE dll
|
|
29 |
|
|
30 |
//UID3 set by "supplier" and must be retained for compatibility.
|
|
31 |
UID 0x1000008d 0x10281F2E
|
|
32 |
|
|
33 |
CAPABILITY ALL -TCB
|
|
34 |
VENDORID VID_DEFAULT
|
|
35 |
VERSION 10.1
|
|
36 |
|
|
37 |
USERINCLUDE ../inc
|
|
38 |
USERINCLUDE ../zlib
|
|
39 |
|
|
40 |
OS_LAYER_SYSTEMINCLUDE
|
|
41 |
OS_LAYER_LIBC_SYSTEMINCLUDE
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
SOURCEPATH ../zlib
|
|
46 |
SOURCE zlibapiwrapper.cpp
|
|
47 |
SOURCE gzio.cpp
|
|
48 |
|
|
49 |
#ifdef X86GCC
|
|
50 |
LIBRARY euser.lib
|
|
51 |
#endif
|
|
52 |
LIBRARY libzcore.lib
|
|
53 |
LIBRARY libc.lib
|
|
54 |
|
|
55 |
DEFFILE ../~/libz.def
|
|
56 |
|
|
57 |
// This macro must be defined to stop the following compiler error when building with GCCXML:
|
|
58 |
// stdlib.h: error: redeclaration of C++ built-in type `wchar_t'
|
|
59 |
// This error is caused as the GCC compiler compiler defines 'wchar_t' internally, but it is
|
|
60 |
// also defined in stdlib.h. The macro below stops stdlib.h from defining wchar_t.
|
|
61 |
#ifdef GCCXML
|
|
62 |
MACRO __wchar_t_defined
|
|
63 |
#endif //GCCXML
|
|
64 |
|
|
65 |
SMPSAFE
|