You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafodion.apache.org by "Zhu, Wen-Jun" <we...@esgyn.cn> on 2018/01/18 11:42:10 UTC

_MSC_VER and other macros for linux

Hi all,

As I build Trafodion in linux, I find that _MSC_VER and other macros are defined in Makerules.linux, like:
# These definitions are used for all targets when building for linux
SYS_DEFS := -DNA_LINUX -DSQ_LINUX -DNGG -D_M_DG -D_NSKFS_ -D_FULL_BUILD \
    -DARKFS_GENERATOR -D_DP2NT_ \
    -D_LITTLE_ENDIAN_ -DARG_PRESENT_OMIT -DNSK_USE_MSGSYS_SHELLS \
    -D_REENTRANT -D_GLIBCXX_DEPRECATED -D_TNS_R_TARGET \
    -D_MSC_VER -D_X86_ -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x402 \
    -DNA_ITOA_NOT_SUPPORTED -DMPI_ -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H -DNA_CMPDLL

_MSC_VER and other macro are defined for MS C++ compiler, but they take effect here.
Is this correct?

Regards,
Wenjun Zhu