summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2024-03-06 21:00:38 +0000
committerAndrew Clayton <a.clayton@nginx.com>2024-03-09 00:42:27 +0000
commit5511593dacb771490f6d12d78e7485c5ff8a0b38 (patch)
tree9fb8f6f39c18f3ce366f354e3a53c7fce6880bdb
parentf6899af68dcc5629b9a6d9b5ecfdd83a4a830ced (diff)
downloadunit-5511593dacb771490f6d12d78e7485c5ff8a0b38.tar.gz
unit-5511593dacb771490f6d12d78e7485c5ff8a0b38.tar.bz2
Remove support for Microsoft's Visual C++ compiler
We don't run on Windows and only really support compiling Unit with GCC and Clang. Cc: Dan Callahan <d.callahan@f5.com> Co-developed-by: Alejandro Colomar <alx@kernel.org> Signed-off-by: Alejandro Colomar <alx@kernel.org> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
-rw-r--r--auto/cc/test12
-rw-r--r--src/nxt_types.h1
2 files changed, 0 insertions, 13 deletions
diff --git a/auto/cc/test b/auto/cc/test
index 9c9602db..c7adcfc0 100644
--- a/auto/cc/test
+++ b/auto/cc/test
@@ -70,18 +70,9 @@ then
NXT_CC_VERSION=ICC
else
-if `/bin/sh -c "($CC -v)" 2>&1 \
- | grep "Microsoft (R) 32-bit C/C" >> $NXT_AUTOCONF_ERR 2>&1`
-then
- NXT_CC_NAME=MSVC
- $echo " + using MS Visual C++ compiler"
- NXT_CC_VERSION=MSVC
-
-else
NXT_CC_NAME=cc
NXT_CC_VERSION=cc
-fi # MSVC
fi # ICC
fi # xlC
fi # SunC
@@ -197,9 +188,6 @@ case $NXT_CC_NAME in
ICC)
;;
- MSVC)
- ;;
-
*)
;;
diff --git a/src/nxt_types.h b/src/nxt_types.h
index 03e9c187..723346d9 100644
--- a/src/nxt_types.h
+++ b/src/nxt_types.h
@@ -51,7 +51,6 @@ typedef off_t nxt_off_t;
* 64-bit on 32-bit NetBSD 6.0;
* 32-bit on 64-bit OpenBSD;
* 64-bit in Linux x32 ABI;
- * 64-bit in 32-bit Visual Studio C++ 2005.
*/
#if (NXT_QNX)
/*