• Dan Winship's avatar
    Replace #ifdef HAVE_UNISTD_H checks with #ifdef G_OS_UNIX · 158dde05
    Dan Winship authored
    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
    158dde05
Name
Last commit
Last update
..
tests Loading commit data...
.gitignore Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
gatomicarray.c Loading commit data...
gatomicarray.h Loading commit data...
gbinding.c Loading commit data...
gbinding.h Loading commit data...
gboxed.c Loading commit data...
gboxed.h Loading commit data...
gclosure.c Loading commit data...
gclosure.h Loading commit data...
genums.c Loading commit data...
genums.h Loading commit data...
glib-genmarshal.c Loading commit data...
glib-mkenums.in Loading commit data...
glib-types.h Loading commit data...
gmarshal.c Loading commit data...
gmarshal.h Loading commit data...
gmarshal.list Loading commit data...
gobject-query.c Loading commit data...
gobject.c Loading commit data...
gobject.h Loading commit data...
gobject.py Loading commit data...
gobject.rc.in Loading commit data...
gobject.stp.in Loading commit data...
gobject_probes.d Loading commit data...
gobject_trace.h Loading commit data...
gobjectnotifyqueue.c Loading commit data...
gparam.c Loading commit data...
gparam.h Loading commit data...
gparamspecs.c Loading commit data...
gparamspecs.h Loading commit data...
gsignal.c Loading commit data...
gsignal.h Loading commit data...
gsourceclosure.c Loading commit data...
gsourceclosure.h Loading commit data...
gtype-private.h Loading commit data...
gtype.c Loading commit data...
gtype.h Loading commit data...
gtypemodule.c Loading commit data...
gtypemodule.h Loading commit data...
gtypeplugin.c Loading commit data...
gtypeplugin.h Loading commit data...
gvalue.c Loading commit data...
gvalue.h Loading commit data...
gvaluearray.c Loading commit data...
gvaluearray.h Loading commit data...
gvaluecollector.h Loading commit data...
gvaluetransform.c Loading commit data...
gvaluetypes.c Loading commit data...
gvaluetypes.h Loading commit data...
libgobject-gdb.py.in Loading commit data...
makefile.msc.in Loading commit data...
marshal-genstrings.pl Loading commit data...