trafodion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhu, Wen-Jun" <wenjun....@esgyn.cn>
Subject _MSC_VER and other macros for linux
Date Thu, 18 Jan 2018 11:42:10 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message