2008-03-08 13:52:38 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2008-03-08 14:43:31 +00:00
|
|
|
// Name: platform.h
|
2008-03-10 15:24:38 +00:00
|
|
|
// Purpose: interface of global functions
|
2008-03-08 14:43:31 +00:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Licence: wxWindows license
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2008-03-14 07:44:48 +00:00
|
|
|
/** @ingroup group_funcmacro_version */
|
|
|
|
//@{
|
2008-03-08 13:52:38 +00:00
|
|
|
|
2008-03-08 14:43:31 +00:00
|
|
|
/**
|
2008-03-14 07:44:48 +00: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-15 03:14:51 +00:00
|
|
|
|
|
|
|
@header{wx/platform.h}
|
2008-03-08 13:52:38 +00:00
|
|
|
*/
|
2008-03-14 07:44:48 +00:00
|
|
|
#define wxCHECK_GCC_VERSION( major, minor )
|
2008-03-08 13:52:38 +00:00
|
|
|
|
|
|
|
/**
|
2008-03-14 07:44:48 +00: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-15 03:14:51 +00:00
|
|
|
|
|
|
|
@header{wx/platform.h}
|
2008-03-08 13:52:38 +00:00
|
|
|
*/
|
2008-03-14 07:44:48 +00:00
|
|
|
#define wxCHECK_SUNCC_VERSION( major, minor )
|
2008-03-08 13:52:38 +00:00
|
|
|
|
|
|
|
/**
|
2008-03-14 07:44:48 +00: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-15 03:14:51 +00:00
|
|
|
|
|
|
|
@header{wx/platform.h}
|
2008-03-08 13:52:38 +00:00
|
|
|
*/
|
2008-03-14 07:44:48 +00:00
|
|
|
#define wxCHECK_VISUALC_VERSION( major )
|
2008-03-08 13:52:38 +00:00
|
|
|
|
|
|
|
/**
|
2008-03-14 07:44:48 +00: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-15 03:14:51 +00:00
|
|
|
|
|
|
|
@header{wx/platform.h}
|
2008-03-08 13:52:38 +00:00
|
|
|
*/
|
2008-03-14 07:44:48 +00:00
|
|
|
#define wxCHECK_W32API_VERSION( major, minor )
|
|
|
|
|
|
|
|
//@}
|
2008-03-08 13:52:38 +00:00
|
|
|
|