From abba53e39630fd9df7249e239db06b391ba1f47a Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Mon, 19 Sep 2011 00:55:16 -0400 Subject: [PATCH] disable glib-ctor on win32 --- glib/glib-ctor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/glib-ctor.h b/glib/glib-ctor.h index 12df4dd..a7584ea 100644 --- a/glib/glib-ctor.h +++ b/glib/glib-ctor.h @@ -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 -- 2.7.4