From 1c8e80d2d8c27493312916af3e05762c0bc07540 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Tue, 12 Jan 2010 13:15:59 +0100 Subject: Make TAG_MAJOR_VERSION a #define not a pansy enum, so you can use it in #if. --- crawl-ref/source/tags.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/tags.h') diff --git a/crawl-ref/source/tags.h b/crawl-ref/source/tags.h index e7e42ea717..3494c504ab 100644 --- a/crawl-ref/source/tags.h +++ b/crawl-ref/source/tags.h @@ -37,11 +37,8 @@ enum tag_file_type // file types supported by tag system TAGTYPE_PLAYER_NAME // Used only to read the player name }; -enum tag_major_version -{ - TAG_MAJOR_START = 5, - TAG_MAJOR_VERSION = 16 -}; +#define TAG_MAJOR_START 5 +#define TAG_MAJOR_VERSION 16 // Minor version will be reset to zero when major version changes. enum tag_minor_version -- cgit v1.2.3-54-g00ecf