]>
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_SELECT_DISPATCHER | |
25 | # ifdef wxABORT_ON_CONFIG_ERROR | |
26 | # error "wxSocket requires wxSelectDispatcher in wxDFB" | |
27 | # else | |
28 | # undef wxUSE_SELECT_DISPATCHER | |
29 | # define wxUSE_SELECT_DISPATCHER 1 | |
30 | # endif | |
31 | #endif | |
32 | ||
33 | #endif /* _WX_DFB_CHKCONF_H_ */ |