Mercurial > vba-clojure
annotate src/win32/VersionInfo.h @ 3:b05d00f19d80
fix some formatting
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:33:11 -0600 |
parents | f9f4f1b99eed |
children |
rev | line source |
---|---|
rlm@1 | 1 #ifndef VBA_VERSIONINFO_H |
rlm@1 | 2 #define VBA_VERSIONINFO_H |
rlm@1 | 3 |
rlm@1 | 4 #if _MSC_VER > 1000 |
rlm@1 | 5 #pragma once |
rlm@1 | 6 #endif // _MSC_VER > 1000 |
rlm@1 | 7 |
rlm@1 | 8 #include "../version.h" |
rlm@1 | 9 |
rlm@1 | 10 #if SVN_REV > 65535 |
rlm@1 | 11 # define VBA_RR_BUILD_NO 0 |
rlm@1 | 12 #else |
rlm@1 | 13 # define VBA_RR_BUILD_NO SVN_REV |
rlm@1 | 14 #endif |
rlm@1 | 15 |
rlm@1 | 16 // diaplayed in the file attribute dialog |
rlm@1 | 17 #define VBA_VERSIONINFO_FILEVER 7, VBA_RR_MAJOR_VERSION_NO, VBA_RR_MINOR_VERSION_NO, VBA_RR_BUILD_NO |
rlm@1 | 18 #define VBA_VERSIONINFO_STRFILEVER STRINGIZE_VALUE(VBA_VERSIONINFO_FILEVER) "\0" |
rlm@1 | 19 |
rlm@1 | 20 #define VBA_VERSIONINFO_PRODUCTVER VBA_VERSIONINFO_FILEVER |
rlm@1 | 21 #define VBA_VERSIONINFO_STRPRODUCTVER VBA_VERSIONINFO_STRFILEVER |
rlm@1 | 22 #define VBA_VERSIONINFO_STRCOPYRIGHT "Copyright (C) 2005-2011 VBA-RR Development Team" |
rlm@1 | 23 #define VBA_VERSIONINFO_ORGANIZATION VBA_RR_SITE |
rlm@1 | 24 |
rlm@1 | 25 #ifdef _DEBUG |
rlm@1 | 26 # define VBA_VERSIONINFO_FILEFLAGS VS_FF_DEBUG |
rlm@1 | 27 #elif defined(PUBLIC_RELEASE) |
rlm@1 | 28 # define VBA_VERSIONINFO_FILEFLAGS 0 |
rlm@1 | 29 #else |
rlm@1 | 30 # define VBA_VERSIONINFO_FILEFLAGS VS_FF_PRERELEASE |
rlm@1 | 31 #endif |
rlm@1 | 32 |
rlm@1 | 33 #endif // VBA_VERSIONINFO_H |