@@ -32,11 +32,11 @@ struct lock_s *next; } *locks = NULL; static of_mutex_t mutex; -static void __attribute__((constructor)) +static void __attribute__((__constructor__)) init(void) { if (!of_mutex_new(&mutex)) OBJC_ERROR("Failed to create mutex!") }