From 5511593dacb771490f6d12d78e7485c5ff8a0b38 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Wed, 6 Mar 2024 21:00:38 +0000 Subject: 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 Co-developed-by: Alejandro Colomar Signed-off-by: Alejandro Colomar Signed-off-by: Andrew Clayton --- auto/cc/test | 12 ------------ src/nxt_types.h | 1 - 2 files changed, 13 deletions(-) diff --git a/auto/cc/test b/auto/cc/test index 9c9602db..c7adcfc0 100644 --- a/auto/cc/test +++ b/auto/cc/test @@ -69,19 +69,10 @@ then $echo " + using Intel C++ compiler" 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) /* -- cgit