1
0
forked from 0ad/0ad

Update ifdef condition for MCST-LCC compiler (E2K)

Patch by: @r-a-sattarov
Differential Revision: https://code.wildfiregames.com/D4795
This was SVN commit r27128.
This commit is contained in:
Stan 2022-10-07 07:44:40 +00:00
parent a6af1515b6
commit 0a4ba039b4

View File

@ -42,14 +42,14 @@
#else #else
# define ICC_VERSION 0 # define ICC_VERSION 0
#endif #endif
// .. LCC (Win32) and MCST LCC (E2K) compilers define same identifier (__LCC__). // .. LCC (Win32) and MCST LCC (E2K) compilers define same identifier (__LCC__)
#if defined(__LCC__) && !defined(__e2k__) #if defined(__LCC__) && !defined(__MCST__)
# define LCC_VERSION __LCC__ # define LCC_VERSION __LCC__
#else #else
# define LCC_VERSION 0 # define LCC_VERSION 0
#endif #endif
// .. MCST LCC (eLbrus C/C++ Compiler) // .. MCST LCC (MCST eLbrus Compiler Collection)
#if defined(__LCC__) && defined(__e2k__) #if defined(__LCC__) && defined(__MCST__)
# define MCST_LCC_VERSION (__LCC__*100 + __LCC_MINOR__) # define MCST_LCC_VERSION (__LCC__*100 + __LCC_MINOR__)
#else #else
# define MCST_LCC_VERSION 0 # define MCST_LCC_VERSION 0