//===-- ucontext.h ----------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // // ===----------------------------------------------------------------------=== #ifndef GOOGLE_BREAKPAD_COMMON_ANDROID_INCLUDE_UCONTEXT_H #define GOOGLE_BREAKPAD_COMMON_ANDROID_INCLUDE_UCONTEXT_H #include #ifdef __BIONIC_UCONTEXT_H #include #else #include #ifdef __cplusplus extern "C" { #endif // __cplusplus // Provided by src/android/common/breakpad_getcontext.S int breakpad_getcontext(ucontext_t* ucp); #define getcontext(x) breakpad_getcontext(x) #ifdef __cplusplus } // extern "C" #endif // __cplusplus #endif // __BIONIC_UCONTEXT_H #endif // GOOGLE_BREAKPAD_COMMON_ANDROID_INCLUDE_UCONTEXT_H