]> granicus.if.org Git - gc/commit
Fix lack of 2 trailing zeros in _MSC_VER numbers
authorIvan Maidanski <ivmai@mail.ru>
Mon, 16 Jan 2017 21:14:44 +0000 (00:14 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 6 Feb 2017 18:51:33 +0000 (21:51 +0300)
commit9a0332cbf4293282ab2bbf78abfb769eab04a45a
tree58725d908edd4a9caf3c9481a55a4c10fed52a2a
parent7226ce4ed4d7696d5b0cae748f68635b668f7091
Fix lack of 2 trailing zeros in _MSC_VER numbers

_MSC_VER value consists of 4 digits (as of VS 2015).

* include/gc_config_macros.h [!GC_ATTR_MALLOC && !__GNUC__ && _MSC_VER]
(GC_ATTR_MALLOC): Replace _MSC_VER>=14 with _MSC_VER>=1400.
* include/private/gc_priv.h [!__GNUC__ && _MSC_VER] (GC_ATTR_NOINLINE):
Likewise.
* include/gc_config_macros.h [!GC_BUILD && !__GNUC__ && _MSC_VER]
(GC_ATTR_DEPRECATED): Replace _MSC_VER>=12 with _MSC_VER>=1200.
include/gc_config_macros.h
include/private/gc_priv.h