libc: Provide ucontext_t/mcontext_t/<sys/ucontext.h>
This patch updates the C library headers to provide ucontext_t definitions for three architectures. + Fix <signal.h> to always define 'struct sigcontext'. The new declarations are announced with new macros defined in <sys/cdefs.h> in order to make it easier to adapt client code that already defines its own, incompatible, versions of the structures seen here. http://code.google.com/p/android/issues/detail?id=34784 Change-Id: Ie78c48690a4ce61c50593f6c39639be7fead3596
This commit is contained in:
@@ -510,4 +510,12 @@
|
||||
#define __BIONIC_FORTIFY_UNKNOWN_SIZE ((size_t) -1)
|
||||
#endif
|
||||
|
||||
/* Indicates to client code that <signal.h> now defines 'struct sigcontext'
|
||||
* properly. See comments in <signal.h> */
|
||||
#define __BIONIC_HAVE_STRUCT_SIGCONTEXT 1
|
||||
|
||||
/* Indicates to client code that <signal.h> now defines 'ucontext_t' */
|
||||
/* NOTE: That does not mean that <ucontext.h> is available! */
|
||||
#define __BIONIC_HAVE_UCONTEXT_T 1
|
||||
|
||||
#endif /* !_SYS_CDEFS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user