summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-01-12 13:15:59 +0100
committerAdam Borowski <kilobyte@angband.pl>2010-01-12 13:15:59 +0100
commit1c8e80d2d8c27493312916af3e05762c0bc07540 (patch)
tree4eaff5df8f64b0808763de721316af0c63d59e8b /crawl-ref/source/tags.h
parent9c1370e65f10a606a136bfaa69bad3c916565d12 (diff)
downloadcrawl-ref-1c8e80d2d8c27493312916af3e05762c0bc07540.tar.gz
crawl-ref-1c8e80d2d8c27493312916af3e05762c0bc07540.zip
Make TAG_MAJOR_VERSION a #define not a pansy enum, so you can use it in #if.
Diffstat (limited to 'crawl-ref/source/tags.h')
-rw-r--r--crawl-ref/source/tags.h7
1 files changed, 2 insertions, 5 deletions
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