mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 22:46:15 +01:00
builder: do not include <unistd.h> on win32
Spotted by Kean Johnston <kean.johnston@gmail.com>. https://mail.gnome.org/archives/gtk-devel-list/2011-April/msg00010.html
This commit is contained in:
parent
3812559659
commit
a5dd6fcc4f
@ -24,7 +24,9 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#if !defined(G_OS_WIN32) || !defined(_MSC_VER)
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user