Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(799)

Unified Diff: syzygy/common/version.rc

Issue 4835042: Add version resource to call_trace.dll. (Closed) Base URL: https://sawbuck.googlecode.com/svn/trunk
Patch Set: Created 12 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « syzygy/call_trace/call_trace.rc ('k') | syzygy/instrument/instrumenter.rc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: syzygy/common/version.rc
diff --git a/syzygy/common/version.rc b/syzygy/common/version.rc
index ba12542b44be9866bc6e0ecc1767833cdb58eb69..20c318370090dd586f021af3c5bcb6301654d253 100644
--- a/syzygy/common/version.rc
+++ b/syzygy/common/version.rc
@@ -12,7 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
-#include "afxres.h"
+#include <verrsrc.h>
+#include <winres.h>
#include "version.gen" // NOLINT
#ifdef APSTUDIO_INVOKED
@@ -24,6 +25,9 @@
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
+#if !defined(SYZYGY_FILETYPE)
+#error You must define SYZYGY_FILETYPE to your file type, e.g. VFT_APP or such.
+#endif
#if !defined(SYZYGY_DESCRIPTION)
#error You must define SYZYGY_DESCRIPTION with your description string.
@@ -36,6 +40,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#if !defined(SYZYGY_ORIGINALFILENAME)
#error You must define SYZYGY_ORIGINALFILENAME with your original file name.
#endif
+
/////////////////////////////////////////////////////////////////////////////
//
// Version
@@ -43,14 +48,14 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
VS_VERSION_INFO VERSIONINFO
FILEVERSION SYZYGY_MAJOR,SYZYGY_MINOR,SYZYGY_BUILD,SYZYGY_PATCH
PRODUCTVERSION SYZYGY_MAJOR,SYZYGY_MINOR,SYZYGY_BUILD,SYZYGY_PATCH
- FILEFLAGSMASK 0x17L
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifdef _DEBUG
- FILEFLAGS 0x1L
+ FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif
- FILEOS 0x4L
- FILETYPE 0x1L
+ FILEOS VOS__WINDOWS32
+ FILETYPE SYZYGY_FILETYPE
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
« no previous file with comments | « syzygy/call_trace/call_trace.rc ('k') | syzygy/instrument/instrumenter.rc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b