summaryrefslogtreecommitdiffstats
path: root/src/if_mzsch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_mzsch.h')
-rw-r--r--src/if_mzsch.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/if_mzsch.h b/src/if_mzsch.h
index 7c1766ebbc..8852602c09 100644
--- a/src/if_mzsch.h
+++ b/src/if_mzsch.h
@@ -10,6 +10,11 @@
# include <stdint.h>
#endif
+#ifdef PROTO
+/* avoid syntax error for defining Thread_Local_Variables. */
+# define __thread /* empty */
+#endif
+
/* #ifdef needed for "make depend" */
#ifdef FEAT_MZSCHEME
# include <schvers.h>