1 csignal |
1 /* |
|
2 * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved. |
|
3 * |
|
4 * Copyright (c) 1999 |
|
5 * Boris Fomitchev |
|
6 * |
|
7 * This material is provided "as is", with absolutely no warranty expressed |
|
8 * or implied. Any use is at your own risk. |
|
9 * |
|
10 * Permission to use or copy this software for any purpose is hereby granted |
|
11 * without fee, provided the above notices are retained on all copies. |
|
12 * Permission to modify the code and to distribute modified code is granted, |
|
13 * provided the above notices are retained, and a notice that the code was |
|
14 * modified is included with the above copyright notice. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef _STLP_CSIGNAL |
|
19 # define _STLP_CSIGNAL |
|
20 |
|
21 # ifndef _STLP_OUTERMOST_HEADER_ID |
|
22 # define _STLP_OUTERMOST_HEADER_ID 0x112 |
|
23 # include <stl/_prolog.h> |
|
24 # endif |
|
25 |
|
26 # if defined (_STLP_USE_NEW_C_HEADERS) |
|
27 # include _STLP_NATIVE_CPP_C_HEADER(csignal) |
|
28 # else |
|
29 #ifdef __SYMBIAN32__ |
|
30 //# include <signal.h> |
|
31 #else |
|
32 # include _STLP_NATIVE_C_HEADER(signal.h) |
|
33 #endif |
|
34 # endif |
|
35 |
|
36 # ifdef _STLP_IMPORT_VENDOR_CSTD |
|
37 _STLP_BEGIN_NAMESPACE |
|
38 # ifndef _STLP_NO_CSTD_FUNCTION_IMPORTS |
|
39 #ifndef __SYMBIAN32__ |
|
40 using _STLP_VENDOR_CSTD::signal; |
|
41 using _STLP_VENDOR_CSTD::raise; |
|
42 using _STLP_VENDOR_CSTD::sig_atomic_t; |
|
43 #endif |
|
44 # endif /* _STLP_NO_CSTD_FUNCTION_IMPORTS */ |
|
45 _STLP_END_NAMESPACE |
|
46 # endif /* _STLP_IMPORT_VENDOR_CSTD */ |
|
47 |
|
48 # if (_STLP_OUTERMOST_HEADER_ID == 0x112 ) |
|
49 # include <stl/_epilog.h> |
|
50 # undef _STLP_OUTERMOST_HEADER_ID |
|
51 # endif |
|
52 |
|
53 #endif /* _STLP_CSIGNAL */ |
|
54 |
|
55 // Local Variables: |
|
56 // mode:C++ |
|
57 // End: |