• bjaideep's avatar
    AIX: Work around for malloc(0) behavior · 7c0f3f06
    bjaideep authored
    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}
    7c0f3f06
Name
Last commit
Last update
..
OWNERS Loading commit data...
test-run-wasm-64.cc Loading commit data...
test-run-wasm-asmjs.cc Loading commit data...
test-run-wasm-interpreter.cc Loading commit data...
test-run-wasm-js.cc Loading commit data...
test-run-wasm-module.cc Loading commit data...
test-run-wasm-relocation.cc Loading commit data...
test-run-wasm-simd.cc Loading commit data...
test-run-wasm.cc Loading commit data...
test-wasm-breakpoints.cc Loading commit data...
test-wasm-interpreter-entry.cc Loading commit data...
test-wasm-stack.cc Loading commit data...
test-wasm-trap-position.cc Loading commit data...
wasm-run-utils.h Loading commit data...