]>
Commit | Line | Data |
---|---|---|
23324ae1 | 1 | ///////////////////////////////////////////////////////////////////////////// |
7c913512 | 2 | // Name: platform.h |
e54c96f1 | 3 | // Purpose: interface of global functions |
7c913512 | 4 | // Author: wxWidgets team |
526954c5 | 5 | // Licence: wxWindows licence |
7c913512 FM |
6 | ///////////////////////////////////////////////////////////////////////////// |
7 | ||
b21126db | 8 | /** @addtogroup group_funcmacro_version */ |
8af7f7c1 | 9 | //@{ |
23324ae1 | 10 | |
7c913512 | 11 | /** |
8af7f7c1 BP |
12 | Returns @true if the compiler being used is GNU C++ and its version is |
13 | at least major.minor or greater. Returns @false otherwise. | |
9579c1d7 BP |
14 | |
15 | @header{wx/platform.h} | |
23324ae1 | 16 | */ |
8af7f7c1 | 17 | #define wxCHECK_GCC_VERSION( major, minor ) |
23324ae1 FM |
18 | |
19 | /** | |
8af7f7c1 BP |
20 | Returns @true if the compiler being used is Sun CC Pro and its version is |
21 | at least major.minor or greater. Returns @false otherwise. | |
9579c1d7 BP |
22 | |
23 | @header{wx/platform.h} | |
23324ae1 | 24 | */ |
8af7f7c1 | 25 | #define wxCHECK_SUNCC_VERSION( major, minor ) |
23324ae1 FM |
26 | |
27 | /** | |
8af7f7c1 BP |
28 | Returns @true if the compiler being used is Visual C++ and its version is |
29 | at least major or greater. Returns @false otherwise. | |
9579c1d7 BP |
30 | |
31 | @header{wx/platform.h} | |
23324ae1 | 32 | */ |
8af7f7c1 | 33 | #define wxCHECK_VISUALC_VERSION( major ) |
23324ae1 FM |
34 | |
35 | /** | |
8af7f7c1 BP |
36 | Returns @true if the version of w32api headers used is major.minor or |
37 | greater. Otherwise, and also if we are not compiling with MinGW32/Cygwin | |
38 | under Win32 at all, returns @false. | |
9579c1d7 BP |
39 | |
40 | @header{wx/platform.h} | |
23324ae1 | 41 | */ |
8af7f7c1 BP |
42 | #define wxCHECK_W32API_VERSION( major, minor ) |
43 | ||
44 | //@} | |
23324ae1 | 45 |