glib/gobject
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
..
2013-11-11 22:39:57 +08:00
2009-03-31 19:39:16 -04:00
2013-11-15 15:56:26 -05:00
2013-01-01 13:54:54 -05:00
2013-11-15 15:56:26 -05:00
2012-03-08 14:51:22 +08:00
2013-07-20 11:07:46 +02:00
2013-11-20 09:16:16 -05:00
2013-09-19 08:39:18 -04:00
2013-07-29 17:29:05 +02:00
2013-11-20 09:16:16 -05:00
2013-08-17 10:34:32 -04:00