Remove LCC compiler defines

This commit is contained in:
Itms 2025-03-25 12:30:01 +01:00
parent 8f43dd53fc
commit c2d3595777
No known key found for this signature in database
GPG key ID: C7E52BD14CE14E09
2 changed files with 2 additions and 14 deletions

View file

@ -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__)

View file

@ -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;