diff options
author | Yifan Lu | 2016-10-04 19:51:51 -0700 |
---|---|---|
committer | Yifan Lu | 2016-10-04 19:51:51 -0700 |
commit | 4792258fd0b2dc7ac89d98b270e10264c5491e82 (patch) | |
tree | 54a44b939fb8f815f920bde71aa0b9223a2a842e /lib/strerror.c | |
parent | make ln command more robust (diff) | |
download | substitute-4792258fd0b2dc7ac89d98b270e10264c5491e82.tar.gz |
Added option to removed pthread dependency
Added option to remove dynamic linker stuff
Fixed a reference in strerror.c that depends on __APPLE__ being defined
Diffstat (limited to 'lib/strerror.c')
-rw-r--r-- | lib/strerror.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/strerror.c b/lib/strerror.c index 3720f57..db11944 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -24,8 +24,10 @@ const char *substitute_strerror(int err) { _SUBSTITUTE_CURRENT_MAX_ERR_PLUS_ONE + 1, "not all errors named in strerror.c"); /* substitute-internal.h */ +#ifdef __APPLE__ CASE(SUBSTITUTE_ERR_TASK_FOR_PID); CASE(SUBSTITUTE_ERR_MISC); +#endif /* __APPLE__ */ default: return "(unknown libsubstitute error)"; } |