aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/compiler_detection/msvc_version.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/compiler_detection/msvc_version.c')
-rw-r--r--src/build-data/compiler_detection/msvc_version.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/build-data/compiler_detection/msvc_version.c b/src/build-data/compiler_detection/msvc_version.c
new file mode 100644
index 000000000..054f69d28
--- /dev/null
+++ b/src/build-data/compiler_detection/msvc_version.c
@@ -0,0 +1,8 @@
+// _MSC_VER Defined as an integer literal that encodes the major and minor
+// number elements of the compiler's version number. The major number is
+// the first element of the period-delimited version number and the minor
+// number is the second element. For example, if the version number of the
+// Visual C++ compiler is 17.00.51106.1, the _MSC_VER macro evaluates to 1700.
+// https://msdn.microsoft.com/en-us/library/b0084kay.aspx
+
+_MSC_VER