DescriptionAIX: Work around for malloc(0) behavior
malloc(0) returning 0 is expected behavior on AIX but
compiling with -D_LINUX_SOURCE_COMPAT, malloc(0) should
return a valid pointer (which we do define for AIX). However,
including cstdlib resets the behaviour of _LINUX_SOURCE_COMPAT.
GCC bug: 79839
R=jochen@chromium.org, titzer@chromium.org
BUG=
LOG=N
Review-Url: https://codereview.chromium.org/2732743002
Cr-Commit-Position: refs/heads/master@{#43647}
Committed: https://chromium.googlesource.com/v8/v8/+/7c0f3f0623aa6823caf0cf006dc5cc18148a4bd4
Patch Set 1 #
Total comments: 3
Patch Set 2 : fixed as suggested #Messages
Total messages: 15 (7 generated)
|