commit | b4ef91b97513434a13d6d84a810512315ecf4768 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@google.com> | Tue Jul 10 15:53:04 2012 +0200 |
committer | David 'Digit' Turner <digit@android.com> | Fri Jul 13 11:22:13 2012 +0200 |
tree | 97f8b73b0e7166ffa408009d75b3fe4280b3b0c2 | |
parent | 2177c79bddc66e295599d87007d4cbec549e1cac [diff] |
libcorkscrew: avoid future name collisions. This is a forward-compatibility patch used to avoid two problems: 1/ The C library <signal.h> is going to be updated to define 'struct sigcontext' properly soon. Avoid redefining this structure here when it's not really needed to prevent a type conflict. 2/ Similarly, proper ucontext_t support is going to be added, prevent conflict by using a macro renaming trick. Mainly because there is a slight chance that the C library definition will follow a slightly different layout/naming. For context, see details at: http://code.google.com/p/android/issues/detail?id=34784 https://android-review.googlesource.com/#/c/38875/1 Change-Id: Ie94eb5d77297f8e0bafd146b65a648bd8805a551