mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
19 lines
382 B
Diff
19 lines
382 B
Diff
|
diff --git a/tools/plistutil.c b/tools/plistutil.c
|
||
|
index 8121a7d..98b440e 100644
|
||
|
--- a/tools/plistutil.c
|
||
|
+++ b/tools/plistutil.c
|
||
|
@@ -32,10 +32,13 @@
|
||
|
#include <string.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <errno.h>
|
||
|
+#ifndef _MSC_VER
|
||
|
#include <unistd.h>
|
||
|
+#endif
|
||
|
|
||
|
#ifdef _MSC_VER
|
||
|
#pragma warning(disable:4996)
|
||
|
+#define STDIN_FILENO _fileno(stdin)
|
||
|
#endif
|
||
|
|
||
|
typedef struct _options
|