diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2008-11-29 19:21:24 +0000 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2008-12-02 09:23:48 -0800 |
commit | b72ca26740c71371258bd178188a3d981e39701e (patch) | |
tree | 1937579fc4f2bc5d813f3c8b77688b37829b394e /src | |
parent | 1764376034ce4f4c899f141c121e1be9167d1e83 (diff) | |
download | libgit2-b72ca26740c71371258bd178188a3d981e39701e.tar.gz |
Diasble TLS on cygwin
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Acked-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/git/thread-utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/git/thread-utils.h b/src/git/thread-utils.h index bc4153d7a..7322d43c8 100644 --- a/src/git/thread-utils.h +++ b/src/git/thread-utils.h @@ -22,8 +22,8 @@ # define GIT_TLS /* nothing: tls vars are thread-global */ #endif -/* sparse doesn't grok thread-local variables */ -#if defined(__CHECKER__) +/* sparse and cygwin don't grok thread-local variables */ +#if defined(__CHECKER__) || defined(__CYGWIN__) # undef GIT_HAS_TLS # undef GIT_TLS # define GIT_TLS |