Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
298a25bd
Commit
298a25bd
authored
Feb 06, 2014
by
Peter Trommler
🥁
Committed by
Austin Seipp
Feb 06, 2014
Browse files
Fix __thread detection (#8722)
Signed-off-by:
Austin Seipp
<
austin@well-typed.com
>
parent
41cfc96b
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
298a25bd
...
...
@@ -867,11 +867,11 @@ AC_COMPILE_IFELSE(
[ AC_LANG_SOURCE([[__thread int tester = 0;]]) ],
[
AC_MSG_RESULT(yes)
AC_DEFINE([CC_SUPPORTS_TLS],[
0
],[Define to 1 if __thread is supported])
AC_DEFINE([CC_SUPPORTS_TLS],[
1
],[Define to 1 if __thread is supported])
],
[
AC_MSG_RESULT(no)
AC_DEFINE([CC_SUPPORTS_TLS],[
1
],[Define to 1 if __thread is supported])
AC_DEFINE([CC_SUPPORTS_TLS],[
0
],[Define to 1 if __thread is supported])
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment