diff options
| author | David 'Digit' Turner <digit@google.com> | 2012-07-10 15:53:04 +0200 |
|---|---|---|
| committer | David 'Digit' Turner <digit@android.com> | 2012-07-13 11:22:13 +0200 |
| commit | b4ef91b97513434a13d6d84a810512315ecf4768 (patch) | |
| tree | 97f8b73b0e7166ffa408009d75b3fe4280b3b0c2 /trusty/coverage/coverage_test.cpp | |
| 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
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
