Added preliminary Symbian support.
[silc.git] / includes / silcsymbian.h
1 /*
2
3   silcsymbian.h
4
5   Author: Pekka Riikonen <priikone@silcnet.org>
6
7   Copyright (C) 2002 - 2006 Pekka Riikonen
8
9   This program is free software; you can redistribute it and/or modify
10   it under the terms of the GNU General Public License as published by
11   the Free Software Foundation; version 2 of the License.
12
13   This program is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18 */
19 /* Native Symbian specific includes and definitions. */
20
21 #ifndef SILCSYMBIAN_H
22 #define SILCSYMBIAN_H
23
24 /* Various hacks follow */
25
26 /* Do not treat conversions from 'unsigned char *' to 'char *' as errors
27    with WINSCW */
28 #ifdef __WINSCW__
29 #pragma mpwc_relax on
30 #endif /* __WINSCW__ */
31
32 /* Define the need for wchar_t, otherwise the stddef.h may not define it,
33    as it is not guaranteed that the stddef.h used is from Symbian headers
34    (due to some include path ordering problem in some cases). */
35 #ifndef __need_wchar_t
36 #define __need_wchar_t
37 #endif /* __need_wchar_t */
38
39 /* And just in case, include stddef.h here to get the Symbian one as
40    early as possible. */
41 #include <stddef.h>
42
43 #endif /* SILCSYMBIAN_H */