mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
disable glib-ctor on win32
This commit is contained in:
parent
14e6377a60
commit
abba53e396
@ -1,6 +1,6 @@
|
||||
#ifndef __GLIB_CTOR_H__
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if defined (__GNUC__) && !defined (_WIN32)
|
||||
#define GLIB_CTOR(func) \
|
||||
__attribute__((constructor)) static void func (void)
|
||||
#define GLIB_ENSURE_CTOR(func) G_STMT_START { } G_STMT_END
|
||||
|
Loading…
Reference in New Issue
Block a user