glib/gmodule
Dan Winship 158dde0507 Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX
In Windows development environments that have it, <unistd.h> is mostly
just a wrapper around several other native headers (in particular,
<io.h>, which contains read(), close(), etc, and <process.h>, which
contains getpid()). But given that some Windows dev environments don't
have <unistd.h>, everything that uses those functions on Windows
already needed to include the correct Windows header as well, and so
there is never any point to including <unistd.h> on Windows.

Also, remove some <unistd.h> includes (and a few others) that were
unnecessary even on unix.

https://bugzilla.gnome.org/show_bug.cgi?id=710519
2013-11-20 09:25:39 -05:00
..
.gitignore improve gitignore 2010-01-28 22:43:51 -05:00
AUTHORS initial import of gmodule. 1998-08-09 08:32:18 +00:00
ChangeLog Update README files to refer to git 2009-03-31 19:39:16 -04:00
COPYING initial import of gmodule. 1998-08-09 08:32:18 +00:00
gmodule-ar.c Make header include order consistent (#71704, Diego Escalante Urrelo) 2007-11-08 03:43:46 +00:00
gmodule-dl.c Fix compilation on Android with the bionic C library 2013-04-16 13:24:26 +02:00
gmodule-dyld.c Make header include order consistent (#71704, Diego Escalante Urrelo) 2007-11-08 03:43:46 +00:00
gmodule-win32.c Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gmodule.c Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX 2013-11-20 09:25:39 -05:00
gmodule.h Use 'dumb quotes' rather than `really dumb quotes' 2013-05-21 11:23:22 -03:00
gmodule.rc.in Update the year in the *.rc.in files 2011-06-07 08:55:31 +08:00
gmoduleconf.h.in Remove alleged support for last-millennium Unixes 2013-11-20 09:16:16 -05:00
gmoduleconf.h.win32 Remove alleged support for last-millennium Unixes 2013-11-20 09:16:16 -05:00
Makefile.am Remove alleged support for last-millennium Unixes 2013-11-20 09:16:16 -05:00
makefile.msc.in adapt to gmodule.symbols usage 2008-08-01 14:17:43 +00:00