projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14e6377
)
disable glib-ctor on win32
author
Ryan Lortie
<desrt@desrt.ca>
Mon, 19 Sep 2011 04:55:16 +0000
(
00:55
-0400)
committer
Ryan Lortie
<desrt@desrt.ca>
Wed, 21 Sep 2011 20:06:55 +0000
(16:06 -0400)
glib/glib-ctor.h
patch
|
blob
|
history
diff --git
a/glib/glib-ctor.h
b/glib/glib-ctor.h
index
12df4dd
..
a7584ea
100644
(file)
--- a/
glib/glib-ctor.h
+++ b/
glib/glib-ctor.h
@@
-1,6
+1,6
@@
#ifndef __GLIB_CTOR_H__
-#if
def __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