Aded Symbina support. Added new Carbide.c++ project files
[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   The contents of this file are subject to one of the Licenses specified 
10   in the COPYING file;  You may not use this file except in compliance 
11   with the License.
12
13   The software distributed under the License is distributed on an "AS IS"
14   basis, in the hope that it will be useful, but WITHOUT WARRANTY OF ANY
15   KIND, either expressed or implied.  See the COPYING file for more
16   information.
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 #include <sys/times.h>
43 #include <sys/stat.h>
44
45 /* Some internal routines */
46 void silc_symbian_usleep(long microseconds);
47 void silc_symbian_debug(const char *function, int line, char *string);
48
49 #endif /* SILCSYMBIAN_H */