summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2019-01-15 16:10:36 -0800
committerRyan Prichard <rprichard@google.com>2019-01-16 01:11:26 -0800
commit9ee8069046d587a4da2a67feb24ede9e9ea73edf (patch)
tree6cd909f2caabfa80c8656542d8ac63c3eac5c2bf /libc/malloc_debug/malloc_debug.cpp
parent073fffde090f3d68ce997b6f4c376a58d2a9fc40 (diff)
Build the linker with -D_USING_LIBCXX
This macro is necessary for using stdatomic.h and <atomic> in the same libc++-based program. <atomic> is used implicitly by other STL headers, and stdatomic.h is used (or will be used) in headers shared with libc. libc only has access to stdatomic.h because it can't use an STL. Bug: http://b/78026329 Test: bionic unit tests Change-Id: I89b128df08b478287ef4e2867319e74dbcc30d4e
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions