diff options
author | Ben Cheng <bccheng@google.com> | 2013-11-26 15:49:28 -0800 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2013-12-10 11:14:26 -0800 |
commit | cd981789b391a786af52d66854a4a1650709889c (patch) | |
tree | bc9058eca6a37adac3527c5897089b707a61997a /0.153/libdwfl/dwfl_error.c | |
parent | 2b15007079ce7722e507e4c165bfb21c59785e6e (diff) | |
download | android_external_elfutils-cd981789b391a786af52d66854a4a1650709889c.tar.gz android_external_elfutils-cd981789b391a786af52d66854a4a1650709889c.tar.bz2 android_external_elfutils-cd981789b391a786af52d66854a4a1650709889c.zip |
Add patches for MacOS compilation.
Change-Id: I9176bacf7c393715b244706df9731b0e914eb228
Diffstat (limited to '0.153/libdwfl/dwfl_error.c')
-rw-r--r-- | 0.153/libdwfl/dwfl_error.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/0.153/libdwfl/dwfl_error.c b/0.153/libdwfl/dwfl_error.c index a73d6670..966c9901 100644 --- a/0.153/libdwfl/dwfl_error.c +++ b/0.153/libdwfl/dwfl_error.c @@ -62,7 +62,11 @@ /* The error number. */ +#ifdef __APPLE__ +static int global_error; +#else static __thread int global_error; +#endif int |