http://stxxl.sourceforge.net
<beckmann@cs.uni-frankfurt.de>
http://www.boost.org/LICENSE_1_0.txt
#include <stxxl/bits/version.h>
#ifdef STXXL_BOOST_CONFIG
#include <boost/version.hpp>
#endif
#define stringify_(x) #x
#define stringify(x) stringify_(x)
#define STXXL_VERSION_STRING_MA_MI_PL stringify(STXXL_VERSION_MAJOR) "." stringify(STXXL_VERSION_MINOR) "." stringify(STXXL_VERSION_PATCHLEVEL)
#ifdef HAVE_VERSION_DEFS
#include "version.defs"
#endif
#ifdef HAVE_VERSION_SVN_DEFS
#include "version_svn.defs"
#endif
__STXXL_BEGIN_NAMESPACE
int version_major()
{
return STXXL_VERSION_MAJOR;
};
int version_minor()
{
return STXXL_VERSION_MINOR;
}
int version_patchlevel()
{
return STXXL_VERSION_PATCHLEVEL;
}
const char * get_version_string()
{
return "STXXL"
#ifdef STXXL_VERSION_STRING_SVN_BRANCH
" (branch: " STXXL_VERSION_STRING_SVN_BRANCH ")"
#endif
" v"
STXXL_VERSION_STRING_MA_MI_PL
#ifdef STXXL_VERSION_STRING_DATE
"-" STXXL_VERSION_STRING_DATE
#endif
#ifdef STXXL_VERSION_STRING_SVN_REVISION
" (SVN r" STXXL_VERSION_STRING_SVN_REVISION ")"
#endif
#ifdef STXXL_VERSION_STRING_GIT_REVISION
" (GIT " STXXL_VERSION_STRING_GIT_REVISION ")"
#endif
#ifdef STXXL_VERSION_STRING_PHASE
" (" STXXL_VERSION_STRING_PHASE ")"
#else
" (prerelease)"
#endif
#ifdef STXXL_VERSION_STRING_COMMENT
" (" STXXL_VERSION_STRING_COMMENT ")"
#endif
#ifdef __MCSTL__
" + MCSTL"
#ifdef MCSTL_VERSION_STRING_DATE
" " MCSTL_VERSION_STRING_DATE
#endif
#ifdef MCSTL_VERSION_STRING_SVN_REVISION
" (SVN r" MCSTL_VERSION_STRING_SVN_REVISION ")"
#endif
#endif
#ifdef STXXL_BOOST_CONFIG
" + Boost "
#define Y(x) # x
#define X(x) Y(x)
X(BOOST_VERSION)
#undef X
#undef Y
#endif
;
}
__STXXL_END_NAMESPACE