Mercurial > vba-clojure
view src/version.h @ 466:b31cd6651375
working on noise.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 04 May 2012 04:13:13 -0500 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #ifndef VBA_VERSION_H2 #define VBA_VERSION_H4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10008 #define STRINGIZE_VALUE(X) _Py_STRINGIZE2(X)9 #define _Py_STRINGIZE(X) _Py_STRINGIZE1((X))10 #define _Py_STRINGIZE1(X) _Py_STRINGIZE2 ## X11 #define _Py_STRINGIZE2(X) #X12 //re: http://72.14.203.104/search?q=cache:HG-okth5NGkJ:mail.python.org/pipermail/python-checkins/2002-November/030704.html+_msc_ver+compiler+version+string&hl=en&gl=us&ct=clnk&cd=514 #if defined(_MSC_VER)15 # define VBA_COMPILER ""16 # define VBA_COMPILER_DETAIL " msvc " _Py_STRINGIZE(_MSC_VER)17 #else18 // TODO: make for others compilers19 # define VBA_COMPILER ""20 # define VBA_COMPILER_DETAIL ""21 #endif23 #define VBA_NAME "VBA-RR"24 #define VBA_RR_MAJOR_VERSION_NO 2325 #define VBA_RR_MINOR_VERSION_NO 527 #if !defined(_DEBUG) && (defined(WIN32) || defined(RC_INVOKED))28 # include "../win32/userconfig/svnrev.h"29 #endif30 #31 #ifndef SVN_REV32 # define SVN_REV 033 #endif35 #ifndef SVN_REV_STR36 # if SVN_REV > 037 # define SVN_REV_STR STRINGIZE_VALUE(SVN_REV)38 # else39 # define define SVN_REV_STR ""40 # endif41 #endif43 #ifdef _DEBUG44 # define VBA_SUBVERSION_STRING " DEBUG"45 # define VBA_BUILDTYPE_STRING "Debug"46 #elif defined(PUBLIC_RELEASE)47 # define VBA_SUBVERSION_STRING ""48 # define VBA_BUILDTYPE_STRING "Release"49 #else // interim50 # define VBA_SUBVERSION_STRING " svn" SVN_REV_STR51 # define VBA_BUILDTYPE_STRING "Interim"52 #endif54 #define VBA_FEATURE_STRING ""56 #if VBA_RR_MINOR_VERSION_NO > 057 # define VBA_RR_VERSION_NO VBA_RR_MAJOR_VERSION_NO ## . ## VBA_RR_MINOR_VERSION_NO58 #else59 # define VBA_RR_VERSION_NO VBA_RR_MAJOR_VERSION_NO60 #endif62 #define VBA_VERSION_STRING "v" STRINGIZE_VALUE(VBA_RR_VERSION_NO) VBA_SUBVERSION_STRING VBA_FEATURE_STRING VBA_COMPILER63 #define VBA_NAME_AND_VERSION VBA_NAME " " VBA_VERSION_STRING64 #define VBA_RR_SITE "http://code.google.com/p/vba-rerecording/"66 #endif // !VBA_VERSION_H