summaryrefslogtreecommitdiffstats
path: root/qtools
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2006-10-04 20:28:41 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2006-10-04 20:28:41 (GMT)
commitca720513ae89ad82fd8d8c4340271375ae1e9f64 (patch)
treed2526ce0c99b1f268769fd8bd1c56e6dda83fd7f /qtools
parentb1dbef9886c3bf49050a5f49b9ae9d12021e4b50 (diff)
downloadDoxygen-ca720513ae89ad82fd8d8c4340271375ae1e9f64.zip
Doxygen-ca720513ae89ad82fd8d8c4340271375ae1e9f64.tar.gz
Doxygen-ca720513ae89ad82fd8d8c4340271375ae1e9f64.tar.bz2
Release-1.4.7-20061004
Diffstat (limited to 'qtools')
-rw-r--r--qtools/qglobal.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/qtools/qglobal.h b/qtools/qglobal.h
index 0123dee..0f0204e 100644
--- a/qtools/qglobal.h
+++ b/qtools/qglobal.h
@@ -262,6 +262,19 @@
#error "Qt has not been tested with this compiler - talk to qt-bugs@trolltech.com"
#endif
+// detect Microsoft compiler version
+#ifdef _CC_MSVC_
+#if _MSC_VER >= 1400
+#define _CC_V2005
+#elif _MSC_VER >= 1310
+#define _CC_V2003
+#elif _MSC_VER > 1300
+#define _CC_V2002
+#else
+#define _CC_V1998
+#endif
+#endif
+
#ifndef Q_PACKED
#define Q_PACKED
#endif