| 1 | ///////////////////////////////////////////////////////////////////////////// |
| 2 | // Name: platform.h |
| 3 | // Purpose: interface of global functions |
| 4 | // Author: wxWidgets team |
| 5 | // RCS-ID: $Id$ |
| 6 | // Licence: wxWindows licence |
| 7 | ///////////////////////////////////////////////////////////////////////////// |
| 8 | |
| 9 | /** @addtogroup group_funcmacro_version */ |
| 10 | //@{ |
| 11 | |
| 12 | /** |
| 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. |
| 15 | |
| 16 | @header{wx/platform.h} |
| 17 | */ |
| 18 | #define wxCHECK_GCC_VERSION( major, minor ) |
| 19 | |
| 20 | /** |
| 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. |
| 23 | |
| 24 | @header{wx/platform.h} |
| 25 | */ |
| 26 | #define wxCHECK_SUNCC_VERSION( major, minor ) |
| 27 | |
| 28 | /** |
| 29 | Returns @true if the compiler being used is Visual C++ and its version is |
| 30 | at least major or greater. Returns @false otherwise. |
| 31 | |
| 32 | @header{wx/platform.h} |
| 33 | */ |
| 34 | #define wxCHECK_VISUALC_VERSION( major ) |
| 35 | |
| 36 | /** |
| 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. |
| 40 | |
| 41 | @header{wx/platform.h} |
| 42 | */ |
| 43 | #define wxCHECK_W32API_VERSION( major, minor ) |
| 44 | |
| 45 | //@} |
| 46 | |