]> granicus.if.org Git - gc/commit
Use __declspec(allocator) for malloc-like prototypes (MS VS 2015+)
authorIvan Maidanski <ivmai@mail.ru>
Fri, 20 Oct 2017 18:15:54 +0000 (21:15 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 20 Oct 2017 18:15:54 +0000 (21:15 +0300)
commit9f22ef2c3d710027722331c43c751fe6cd41ee8c
treea76179a4bd8281dffa3a432fab60bc3e05444721
parente6e4968099df208b0ec579b6f7a8656712e27c1d
Use __declspec(allocator) for malloc-like prototypes (MS VS 2015+)

* include/gc_config_macros.h [_MSC_VER>=1900 && !__EDG__]
(GC_ATTR_MALLOC): Add __declspec(allocator).
include/gc_config_macros.h