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