mirror of https://git.tukaani.org/xz.git
MSVC: Don't #include <unistd.h>.
This commit is contained in:
parent
adef92f235
commit
cfd1054b9b
|
@ -29,7 +29,9 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifndef _MSC_VER
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef __VMS
|
||||
# include <unixlib.h>
|
||||
|
|
|
@ -34,7 +34,9 @@
|
|||
#if defined __GETOPT_PREFIX && !defined __need_getopt
|
||||
# include <stdlib.h>
|
||||
# include <stdio.h>
|
||||
# ifndef _MSC_VER
|
||||
# include <unistd.h>
|
||||
# endif
|
||||
# undef __need_getopt
|
||||
# undef getopt
|
||||
# undef getopt_long
|
||||
|
|
|
@ -21,7 +21,10 @@
|
|||
#include <signal.h>
|
||||
#include <locale.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifndef _MSC_VER
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "tuklib_gettext.h"
|
||||
#include "tuklib_progname.h"
|
||||
|
|
|
@ -16,7 +16,10 @@
|
|||
#include <stdarg.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifndef _MSC_VER
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "getopt.h"
|
||||
#include "tuklib_progname.h"
|
||||
|
|
Loading…
Reference in New Issue