]>
Commit | Line | Data |
---|---|---|
b3c86150 VS |
1 | /* |
2 | * Name: wx/dfb/chkconf.h | |
3 | * Author: Vaclav Slavik | |
4 | * Purpose: Compiler-specific configuration checking | |
5 | * Created: 2006-08-10 | |
b3c86150 VS |
6 | * Copyright: (c) 2006 REA Elektronik GmbH |
7 | * Licence: wxWindows licence | |
8 | */ | |
9 | ||
10 | /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */ | |
11 | ||
12 | #ifndef _WX_DFB_CHKCONF_H_ | |
13 | #define _WX_DFB_CHKCONF_H_ | |
14 | ||
15 | #ifndef __WXUNIVERSAL__ | |
16 | # error "wxDirectFB cannot be built without wxUniversal" | |
17 | #endif | |
18 | ||
d7ae4a62 VS |
19 | #if !wxUSE_CONFIG |
20 | # error "wxFileConfig is required by wxDFB port" | |
21 | #endif | |
22 | ||
86e9b8f2 | 23 | #if wxUSE_SOCKETS && !wxUSE_CONSOLE_EVENTLOOP |
a1873279 VZ |
24 | # ifdef wxABORT_ON_CONFIG_ERROR |
25 | # error "wxSocket requires wxSelectDispatcher in wxDFB" | |
26 | # else | |
86e9b8f2 VS |
27 | # undef wxUSE_CONSOLE_EVENTLOOP |
28 | # define wxUSE_CONSOLE_EVENTLOOP 1 | |
a1873279 VZ |
29 | # endif |
30 | #endif | |
31 | ||
289fc833 VZ |
32 | #if wxUSE_DATAOBJ |
33 | # ifdef wxABORT_ON_CONFIG_ERROR | |
34 | # error "wxDataObject not supported in wxDFB" | |
35 | # else | |
36 | # undef wxUSE_DATAOBJ | |
37 | # define wxUSE_DATAOBJ 0 | |
38 | # endif | |
39 | #endif | |
40 | ||
b3c86150 | 41 | #endif /* _WX_DFB_CHKCONF_H_ */ |