Skip to content

Commit

Permalink
Use thread fallback on OSX
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
  • Loading branch information
sustrik committed Sep 21, 2018
1 parent 730b232 commit 119f217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctx.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ extern struct dill_ctx dill_ctx_;
#define dill_getctx \
(dill_fast(dill_ctx_.initialized) ? &dill_ctx_ : dill_ctx_init())

#elif defined __GNUC__ && !defined DILL_THREAD_FALLBACK
#elif defined __GNUC__ && !defined __APPLE__ && !defined DILL_THREAD_FALLBACK

extern __thread struct dill_ctx dill_ctx_;
#define dill_getctx \
Expand Down

0 comments on commit 119f217

Please sign in to comment.