mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 15:10:02 +00:00
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>
This commit is contained in:
parent
1764376034
commit
b72ca26740
@ -22,8 +22,8 @@
|
|||||||
# define GIT_TLS /* nothing: tls vars are thread-global */
|
# define GIT_TLS /* nothing: tls vars are thread-global */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* sparse doesn't grok thread-local variables */
|
/* sparse and cygwin don't grok thread-local variables */
|
||||||
#if defined(__CHECKER__)
|
#if defined(__CHECKER__) || defined(__CYGWIN__)
|
||||||
# undef GIT_HAS_TLS
|
# undef GIT_HAS_TLS
|
||||||
# undef GIT_TLS
|
# undef GIT_TLS
|
||||||
# define GIT_TLS
|
# define GIT_TLS
|
||||||
|
Loading…
Reference in New Issue
Block a user