]> granicus.if.org Git - gc/commit
Replace _M_AMD64 macro with _M_X64
authorIvan Maidanski <ivmai@mail.ru>
Mon, 22 Jul 2019 06:40:29 +0000 (09:40 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 22 Jul 2019 06:40:29 +0000 (09:40 +0300)
commit85789fea7c6cbb477b36957efe3a185a8cad54f4
tree1355de52f4f8803eecf1b63636c3d1c4cff5ee76
parent04bf5f44d27884914c40fe033adeaee5ea644863
Replace _M_AMD64 macro with _M_X64
(code refactoring)

Also, adjust strcat_s usage in msvc_dbg.c.

* extra/msvc_dbg.c [_MSC_VER]: Check _M_X64 instead of _M_AMD64.
* tests/test.c [CPPCHECK && _MSC_VER] (main): Likewise.
* extra/msvc_dbg.c [_M_X64 && _MSC_VER<1200] (GetModuleBase): Use
strcat() instead of strcat_s().
extra/msvc_dbg.c
tests/test.c