From c2d35957779dbea530049a605aa86014c215f2f8 Mon Sep 17 00:00:00 2001 From: Itms Date: Tue, 25 Mar 2025 12:30:01 +0100 Subject: [PATCH] Remove LCC compiler defines --- source/lib/sysdep/compiler.h | 12 ------------ source/lib/sysdep/os/win/wposix/wposix_types.h | 4 ++-- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/source/lib/sysdep/compiler.h b/source/lib/sysdep/compiler.h index 0b0cfa9b4c..dbaa92cee3 100644 --- a/source/lib/sysdep/compiler.h +++ b/source/lib/sysdep/compiler.h @@ -36,18 +36,6 @@ #else # define MSC_VERSION 0 #endif -// .. LCC (Win32) and MCST LCC (E2K) compilers define same identifier (__LCC__) -#if defined(__LCC__) && !defined(__MCST__) -# define LCC_VERSION __LCC__ -#else -# define LCC_VERSION 0 -#endif -// .. MCST LCC (eLbrus Compiler Collection) -#if defined(__LCC__) && defined(__MCST__) -# define MCST_LCC_VERSION (__LCC__*100 + __LCC_MINOR__) -#else -# define MCST_LCC_VERSION 0 -#endif // .. GCC #ifdef __GNUC__ # define GCC_VERSION (__GNUC__*100 + __GNUC_MINOR__) diff --git a/source/lib/sysdep/os/win/wposix/wposix_types.h b/source/lib/sysdep/os/win/wposix/wposix_types.h index bfa7436f82..7013871959 100644 --- a/source/lib/sysdep/os/win/wposix/wposix_types.h +++ b/source/lib/sysdep/os/win/wposix/wposix_types.h @@ -42,7 +42,7 @@ typedef short int16_t; typedef int int32_t; #endif -#if MSC_VERSION || LCC_VERSION +#if MSC_VERSION typedef __int64 int64_t; #else typedef long long int64_t; @@ -51,7 +51,7 @@ typedef long long int64_t; typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; -#if MSC_VERSION || LCC_VERSION +#if MSC_VERSION typedef unsigned __int64 uint64_t; #else typedef unsigned long long uint64_t;