folly/Malloc.h: use libstdc++-safe exception wrappers
Summary: gcc errors out when code that throws is compiled with '-fno-exceptions'. Since we add Malloc.h into our custom libstdc++ use the exception wrappers from functexcept.h so that they can build with third-party projects that use '-fno-exceptions'. Test Plan: Built llvm in the gcc-4.7.1-glibc-2.14.1-fb platform with these changes. Reviewed By: tudorb@fb.com FB internal diff: D516577
Showing
Please register or sign in to comment