summaryrefslogtreecommitdiff
path: root/girepository/gtypelib.h
diff options
context:
space:
mode:
authorTobias Mueller <tobiasmue@gnome.org>2009-06-24 23:52:05 +0200
committerTobias Mueller <tobiasmue@gnome.org>2009-06-24 23:52:05 +0200
commit84b0b64b024bb434af6f508e4d4144e39035502a (patch)
treeab37bd1c76ff2d4d2e391f706aa1ee8548eb776c /girepository/gtypelib.h
parent5fb45ca4c1c2f72f34ff22da7ad7f44183270197 (diff)
downloadgobject-introspection-84b0b64b024bb434af6f508e4d4144e39035502a.tar.gz
Name unions to enable compilation on Solaris
Patch by Brian Cameron <brian.cameron@sun.com>. Fixes bug 578199.
Diffstat (limited to 'girepository/gtypelib.h')
-rw-r--r--girepository/gtypelib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/girepository/gtypelib.h b/girepository/gtypelib.h
index aff53d93..2827543a 100644
--- a/girepository/gtypelib.h
+++ b/girepository/gtypelib.h
@@ -313,7 +313,7 @@ typedef union
guint pointer : 1;
guint reserved3 : 2;
guint tag : 5;
- };
+ } flags;
guint32 offset;
} SimpleTypeBlob;
@@ -530,7 +530,7 @@ typedef struct {
union {
guint16 length;
guint16 size;
- };
+ } dimensions;
SimpleTypeBlob type;
} ArrayTypeBlob;