Include ../config.h for HAVE_UNISTD_H. Use it to guard inclusion of
authorTor Lillqvist <tml@iki.fi>
Mon, 10 Jul 2000 18:02:51 +0000 (18:02 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 10 Jul 2000 18:02:51 +0000 (18:02 +0000)
commitf8b6715ab13c16a14ee37b582260f579d1cffbbb
tree3f13fb525e2a67dbb76bf68ff91d5254429132da
parent04bc211e6c4bba97d698268a62706681b8ab2bf7
Include ../config.h for HAVE_UNISTD_H. Use it to guard inclusion of

2000-07-10  Tor Lillqvist  <tml@iki.fi>

* gobject-query.c: Include ../config.h for HAVE_UNISTD_H. Use it
to guard inclusion of <unistd.h>.

* gtype.h: Fix copy-paste errors in the ifdefs on how to declare a
variable for export. Call the macro GOBJECT_VAR.

* gtype.c: Declare _g_type_fundamental_last for export here, too.
(type_node_any_new): Use only constant expressions for sizeof
operator (for instance MSVC requires this).

* makefile.mingw.in: Define GOBJECT_COMPILATION.
gobject/ChangeLog
gobject/gobject-query.c
gobject/gtype.c
gobject/gtype.h
gobject/makefile.mingw.in