We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca0afc3 + 188a6cc commit ca62a99Copy full SHA for ca62a99
TSRM/TSRM.h
@@ -147,7 +147,7 @@ TSRM_API const char *tsrm_api_name(void);
147
# define __has_attribute(x) 0
148
#endif
149
150
-#if !__has_attribute(tls_model) || defined(__FreeBSD__) || defined(__MUSL__)
+#if !__has_attribute(tls_model) || defined(__FreeBSD__) || defined(__MUSL__) || defined(__HAIKU__)
151
# define TSRM_TLS_MODEL_ATTR
152
#elif __PIC__
153
# define TSRM_TLS_MODEL_ATTR __attribute__((tls_model("initial-exec")))
0 commit comments