summaryrefslogtreecommitdiff
path: root/tls.make.c
diff options
context:
space:
mode:
Diffstat (limited to 'tls.make.c')
-rw-r--r--tls.make.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tls.make.c b/tls.make.c
new file mode 100644
index 0000000000..6bcd2479c6
--- /dev/null
+++ b/tls.make.c
@@ -0,0 +1,9 @@
+/* This produces a makefile fragment saying `use-thread = yes' or no. */
+
+#include <tls.h>
+
+#if USE___THREAD
+@@@ use-thread = yes @@@
+#else
+@@@ use-thread = no @@@
+#endif