2008-03-08 08:52:38 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2008-03-08 09:43:31 -05:00
|
|
|
// Name: platform.h
|
2008-03-10 11:24:38 -04:00
|
|
|
// Purpose: interface of global functions
|
2008-03-08 09:43:31 -05:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
2010-07-13 09:29:13 -04:00
|
|
|
// Licence: wxWindows licence
|
2008-03-08 09:43:31 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2009-01-05 15:48:06 -05:00
|
|
|
/** @addtogroup group_funcmacro_version */
|
2008-03-14 03:44:48 -04:00
|
|
|
//@{
|
2008-03-08 08:52:38 -05:00
|
|
|
|
2008-03-08 09:43:31 -05:00
|
|
|
/**
|
2008-03-14 03:44:48 -04:00
|
|
|
Returns @true if the compiler being used is GNU C++ and its version is
|
|
|
|
at least major.minor or greater. Returns @false otherwise.
|
2008-03-14 23:14:51 -04:00
|
|
|
|
|
|
|
@header{wx/platform.h}
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-14 03:44:48 -04:00
|
|
|
#define wxCHECK_GCC_VERSION( major, minor )
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-03-14 03:44:48 -04:00
|
|
|
Returns @true if the compiler being used is Sun CC Pro and its version is
|
|
|
|
at least major.minor or greater. Returns @false otherwise.
|
2008-03-14 23:14:51 -04:00
|
|
|
|
|
|
|
@header{wx/platform.h}
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-14 03:44:48 -04:00
|
|
|
#define wxCHECK_SUNCC_VERSION( major, minor )
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-03-14 03:44:48 -04:00
|
|
|
Returns @true if the compiler being used is Visual C++ and its version is
|
|
|
|
at least major or greater. Returns @false otherwise.
|
2008-03-14 23:14:51 -04:00
|
|
|
|
|
|
|
@header{wx/platform.h}
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-14 03:44:48 -04:00
|
|
|
#define wxCHECK_VISUALC_VERSION( major )
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
2008-03-14 03:44:48 -04:00
|
|
|
Returns @true if the version of w32api headers used is major.minor or
|
|
|
|
greater. Otherwise, and also if we are not compiling with MinGW32/Cygwin
|
|
|
|
under Win32 at all, returns @false.
|
2008-03-14 23:14:51 -04:00
|
|
|
|
|
|
|
@header{wx/platform.h}
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-14 03:44:48 -04:00
|
|
|
#define wxCHECK_W32API_VERSION( major, minor )
|
|
|
|
|
|
|
|
//@}
|
2008-03-08 08:52:38 -05:00
|
|
|
|