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.
1 parent e7265ac commit b450308Copy full SHA for b450308
1 file changed
pal/inc/pal.h
@@ -230,7 +230,12 @@ extern "C" {
230
#endif
231
232
233
+#ifndef __FreeBSD__
234
#define PAL_GLOBAL __attribute__((init_priority(200)))
235
+#else
236
+/* TODO above macro expansion fails to compile on FreeBSD */
237
+#define PAL_GLOBAL
238
+#endif
239
/******************* PAL-Specific Entrypoints *****************************/
240
241
#define IsDebuggerPresent PAL_IsDebuggerPresent
0 commit comments