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