Commit b72ca267 by Ramsay Jones Committed by Shawn O. Pearce

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>
parent 17643760
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment