From 0a4bb7e711e1715d60111ec0bd2e12f5ecfcb7ee Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 5 Feb 2007 08:02:53 +0000 Subject: [PATCH] Be slightly more forgiving about the nature of SVN_REV; bob will be reliable at defining it, and it's useful to be able to pass `1234M'- type revisions in for testing purposes. [originally from svn r7221] --- windows/version.rc2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/version.rc2 b/windows/version.rc2 index 5bac1ca8..049dbe53 100644 --- a/windows/version.rc2 +++ b/windows/version.rc2 @@ -45,7 +45,7 @@ /* Make SVN_REV mandatory for snapshots, to avoid issuing binary * version numbers that look like full releases. */ -#if (!defined SVN_REV) || (SVN_REV == 0) +#ifndef SVN_REV #error SVN_REV not defined/nonzero for snapshot build #endif