Gate `__returns_nonnull__` attribute to gcc 4.9 or later
authorMichael Lee <mzlee@fb.com>
Wed, 5 Oct 2016 23:15:02 +0000 (16:15 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Wed, 5 Oct 2016 23:23:31 +0000 (16:23 -0700)
commit008075cac3e70a06a7d15c7f808638685462e289
treea01b290364427c7f8bf50662ec2691fc0b092b9a
parentc495dd260d76ece28f44033a5c151d3c1ce747bd
Gate `__returns_nonnull__` attribute to gcc 4.9 or later

Summary: The attribute `__returns_nonnull__` is only applicable for gcc 4.9 or later (https://gcc.gnu.org/onlinedocs/gcc-4.8.5/gcc/Function-Attributes.html#Function-Attributes)

Reviewed By: ot

Differential Revision: D3976598

fbshipit-source-id: 3c678a11c5046e5a8b7686327dbb3ebc9b598616
folly/Malloc.h