aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/xsample/source/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/xsample/source/main.h')
-rw-r--r--externals/grill/xsample/source/main.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/externals/grill/xsample/source/main.h b/externals/grill/xsample/source/main.h
index 0ffc021b..6dce2711 100644
--- a/externals/grill/xsample/source/main.h
+++ b/externals/grill/xsample/source/main.h
@@ -28,7 +28,9 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#if defined(_MSC_VER)
// MS VC 6.0 can't handle <int,int> templates?! -> no optimization
-// #define TMPLOPT
+ #if _MSC_VER >= 1300
+ #define TMPLOPT
+ #endif
#elif defined(__BORLANDC__)
// handles all optimizations
#define TMPLOPT