forked from bdbcat/oesenc_pi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h.in
41 lines (31 loc) · 878 Bytes
/
config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#define API_VERSION "@API_VERSION@"
#define PLUGIN_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
#define PLUGIN_VERSION_MINOR @PROJECT_VERSION_MINOR@
#define PLUGIN_VERSION_PATCH @PROJECT_VERSION_PATCH@
#define PLUGIN_VERSION_TWEAK @PROJECT_VERSION_TWEAK@
#cmakedefine OPENGL_FOUND
#ifdef OPENGL_FOUND
#define ocpnUSE_GL 1
#endif
#ifdef __MINGW32__
// wxWidgets is build using unicode, make sure we also use it.
#ifndef wxUSE_UNICODE
#define wxUSE_UNICODE 1
#endif
#ifndef UNICODE
#define UNICODE 1
#endif
#ifndef _UNICODE
#define _UNICODE 1
#endif
#endif // __MINGW32__
#ifdef _MSC_VER
//not #if defined(_WIN32) || defined(_WIN64) because we have strncasecmp in mingw
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#endif
#define MAKING_PLUGIN 1
#ifndef DECL_IMP
// Walk around strange (buggy?) DECL_IMP definition in ocpn_plugin.h
#define DECL_IMP
#endif