[libcxx-commits] [PATCH] D137128: [libc++][Android] Include cstdlib to define __BIONIC__

Ryan Prichard via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Dec 9 15:16:36 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGf8c2b0d249af: [libc++][Android] Include cstdlib to define __BIONIC__ (authored by rprichard).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137128/new/

https://reviews.llvm.org/D137128

Files:
  libcxxabi/test/forced_unwind4.pass.cpp


Index: libcxxabi/test/forced_unwind4.pass.cpp
===================================================================
--- libcxxabi/test/forced_unwind4.pass.cpp
+++ libcxxabi/test/forced_unwind4.pass.cpp
@@ -13,6 +13,8 @@
 // the child_thread. This test ensures sigretrun is handled correctly (see:
 // UnwindCursor<A, R>::setInfoForSigReturn).
 
+#include <cstdlib> // defines __BIONIC__
+
 // Android/Bionic does not support pthread_cancel.
 #ifdef __BIONIC__
 int main() {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137128.481756.patch
Type: text/x-patch
Size: 472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221209/23a8abbc/attachment.bin>


More information about the libcxx-commits mailing list