1 /*
2  * Name:        wx/osx/cocoa/chkconf.h
3  * Purpose:     Compiler-specific configuration checking
4  * Author:      Stefan Csomor
5  * Modified by:
6  * Created:     2008-07-30
7  * Copyright:   (c) Stefan Csomor
8  * Licence:     wxWindows licence
9  */
10 
11 #ifndef _WX_OSX_COCOA_CHKCONF_H_
12 #define _WX_OSX_COCOA_CHKCONF_H_
13 
14 /* Many wchar functions (and also strnlen(), for some reason) are only
15    available since 10.7 so don't use them if we want to build the applications
16    that would run under 10.6 and earlier. */
17 #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7
18 #define HAVE_STRNLEN 1
19 #define HAVE_WCSDUP 1
20 #define HAVE_WCSNLEN 1
21 #define HAVE_WCSCASECMP 1
22 #define HAVE_WCSNCASECMP 1
23 #endif
24 
25 /*
26  * native (1) or emulated (0) toolbar
27  */
28 
29 #ifndef wxOSX_USE_NATIVE_TOOLBAR
30     #define wxOSX_USE_NATIVE_TOOLBAR 1
31 #endif
32 
33 /*
34  * leave is isFlipped and don't override
35  */
36 #ifndef wxOSX_USE_NATIVE_FLIPPED
37     #define wxOSX_USE_NATIVE_FLIPPED 1
38 #endif
39 
40 /*
41  * text rendering system
42  */
43 
44 #define wxOSX_USE_ATSU_TEXT 0
45 
46 /*
47  * Audio System
48  */
49 
50 #define wxOSX_USE_QUICKTIME 0
51 #define wxOSX_USE_AUDIOTOOLBOX 1
52 
53 /*
54  * turning off capabilities that don't work under cocoa yet
55  */
56 
57 #endif
58     /* _WX_MAC_CHKCONF_H_ */
59 
60