From 475091c67389ed61cf7589c9b7037fbd8c916b70 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Tue, 13 Oct 2009 03:18:38 -0700 Subject: 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 --- crawl-ref/source/store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/store.cc') 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(); } -- cgit v1.2.3-54-g00ecf