summaryrefslogtreecommitdiff
path: root/TSRM/TSRM.h
diff options
context:
space:
mode:
Diffstat (limited to 'TSRM/TSRM.h')
-rw-r--r--TSRM/TSRM.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/TSRM/TSRM.h b/TSRM/TSRM.h
index ada8ab19e3..2e6c481d46 100644
--- a/TSRM/TSRM.h
+++ b/TSRM/TSRM.h
@@ -126,6 +126,14 @@ TSRM_API void *tsrm_set_new_thread_end_handler(void (*new_thread_end_handler)(TH
}
#endif
+#else
+
+#define TSRMLS_D
+#define TSRMLS_DC
+#define TSRMLS_C
+#define TSRMLS_CC
+#define TSRMLS_FETCH()
+
#endif /* ZTS */
#endif /* TSRM_H */