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