We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d8e3fd commit d498447Copy full SHA for d498447
src/libmowgli/platform/constructor.h
@@ -50,6 +50,10 @@
50
static void func(void) __attribute__((constructor, flatten)); \
51
static void func(void)
52
# endif
53
+#elif defined __SUNPRO_C || defined __SUNPRO_CC
54
+# define MOWGLI_BOOTSTRAP_FUNC(func) \
55
+ static void func(void) __attribute__((constructor)); \
56
+ static void func(void)
57
#else
58
# error MOWGLI_BOOTSTRAP_FUNC not implemented for your platform :(
59
#endif
0 commit comments