Android does not always provide posix_memalign
authorMichael Lee <mzlee@fb.com>
Wed, 2 Mar 2016 16:28:19 +0000 (08:28 -0800)
committerFacebook Github Bot 0 <facebook-github-bot-0-bot@fb.com>
Wed, 2 Mar 2016 16:35:42 +0000 (08:35 -0800)
commitb99ed996050cdce752b71ab17461d9291aa083e6
treee66fb89c746a431ce21d5b6502d0ba6287b53471
parentab442ee8766aeac54c1bad394655a48c242c8607
Android does not always provide posix_memalign

Summary: We could provide `posix_memalign` instead as part of portability, but I am not sure how to tell whether or not it will be available.

Reviewed By: yfeldblum

Differential Revision: D2991432

fb-gh-sync-id: 587314d43779f3b8fead2c41ed05016e6350f2ee
shipit-source-id: 587314d43779f3b8fead2c41ed05016e6350f2ee
folly/Makefile.am
folly/portability/Stdlib.cpp [new file with mode: 0644]
folly/portability/Stdlib.h [new file with mode: 0644]
folly/test/RangeTest.cpp