diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-10-13 03:18:38 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-10-13 06:23:13 -0700 |
commit | 475091c67389ed61cf7589c9b7037fbd8c916b70 (patch) | |
tree | 9e7a8d3323b30a95896fdcc89249ebe2b69a480e /crawl-ref/source/store.cc | |
parent | 18bf8b6c7b04fe232d240e6677f39de09d7a590f (diff) | |
download | crawl-ref-475091c67389ed61cf7589c9b7037fbd8c916b70.tar.gz crawl-ref-475091c67389ed61cf7589c9b7037fbd8c916b70.zip |
platform detection: clean up abuse of '_MSC_VER' macro
Use TARGET_COMPILER_VC instead, unless you need to find
the Visual C++ version information.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/store.cc')
-rw-r--r-- | crawl-ref/source/store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/store.cc b/crawl-ref/source/store.cc index 8d74d75cca..39afd8927c 100644 --- a/crawl-ref/source/store.cc +++ b/crawl-ref/source/store.cc @@ -777,7 +777,7 @@ const CrawlStoreValue &CrawlStoreValue::operator ///////////////////// // Typecast operators -#if _MSC_VER +#ifdef TARGET_COMPILER_VC CrawlStoreValue::operator bool&() { return get_bool(); } CrawlStoreValue::operator char&() { return get_byte(); } CrawlStoreValue::operator short&() { return get_short(); } |