From: simon Date: Mon, 5 Feb 2007 08:02:53 +0000 (+0000) Subject: Be slightly more forgiving about the nature of SVN_REV; bob will be X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/cf152e6d1f0eff1ccf46f5c72110f3c30b9b52f3 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. git-svn-id: svn://svn.tartarus.org/sgt/putty@7221 cda61777-01e9-0310-a592-d414129be87e --- 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