summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/Include/PoolAlloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/slang/Include/PoolAlloc.h')
-rwxr-xr-xsrc/mesa/shader/slang/Include/PoolAlloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/Include/PoolAlloc.h b/src/mesa/shader/slang/Include/PoolAlloc.h
index 3649981ef2..e224d3b867 100755
--- a/src/mesa/shader/slang/Include/PoolAlloc.h
+++ b/src/mesa/shader/slang/Include/PoolAlloc.h
@@ -287,7 +287,7 @@ public:
pool_allocator(const pool_allocator<T>& p) : allocator(p.allocator) { }
#endif
-#if _MSC_VER >= 1300
+#if defined(_MSC_VER) && _MSC_VER >= 1300
template<class Other>
#ifdef USING_SGI_STL
pool_allocator(const pool_allocator<Other>& p) /*: allocator(p.getAllocator())*/ { }