disable glib-ctor on win32

This commit is contained in:
Ryan Lortie 2011-09-19 00:55:16 -04:00
parent 14e6377a60
commit abba53e396

View File

@ -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