Need <io.h> for open() and close().

2001-01-27  Tor Lillqvist  <tml@iki.fi>

	* gmodule.c: (Win32) Need <io.h> for open() and close().

2001-01-27  Tor Lillqvist  <tml@iki.fi>

	* makefile.msc.in: Don't try to compile gmarshal.c on its own.
This commit is contained in:
Tor Lillqvist 2001-01-27 15:07:03 +00:00 committed by Tor Lillqvist
parent 388454cc3b
commit cd888afb5a
4 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-01-27 Tor Lillqvist <tml@iki.fi>
* gmodule.c: (Win32) Need <io.h> for open() and close().
2000-12-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmodule.c: Make g_module_open more tolerant wrt to the module

View File

@ -41,6 +41,9 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#if defined (G_OS_WIN32)
# include <io.h> /* For open() and close() prototypes. */
#endif
/* We maintain a list of modules, so we can reference count them.
* That's needed because some platforms don't support refernce counts on

View File

@ -1,3 +1,7 @@
2001-01-27 Tor Lillqvist <tml@iki.fi>
* makefile.msc.in: Don't try to compile gmarshal.c on its own.
2001-01-24 <alexl@redhat.com>
* gclosure.c (g_closure_unref):

View File

@ -24,7 +24,6 @@ gobject_OBJECTS = \
gbsearcharray.obj \
gclosure.obj \
genums.obj \
gmarshal.obj \
gobject.obj \
gparam.obj \
gparamspecs.obj \
@ -44,3 +43,7 @@ gobject-$(GLIB_VER).dll : $(gobject_OBJECTS) gobject.def
glib-genmarshal.exe : glib-genmarshal.c
$(CC) -Fe$@ $(CFLAGS) -UGOBJECT_COMPILATION glib-genmarshal.c ..\glib-$(GLIB_VER).lib gobject-$(GLIB_VER).lib
# I don't even try to build gmarshal.c and gmarshal.h here. If you try
# to build this from CVS with MSVC, you will have to have a look in
# Makefile.am or makefile.mingw.in to see how to do it.