From 61fb427c104d6f2334aaee9c7d90d8287d521b17 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Fri, 5 Mar 2021 10:08:13 +0900 Subject: Imported Upstream version 1.16.1 --- src/mswindows.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/mswindows.h') diff --git a/src/mswindows.h b/src/mswindows.h index e614d84..3b815f0 100644 --- a/src/mswindows.h +++ b/src/mswindows.h @@ -57,13 +57,6 @@ as that of the covered work. */ /* Declares getpid(). */ #include -#ifndef S_ISDIR -# define S_ISDIR(m) (((m) & (_S_IFMT)) == (_S_IFDIR)) -#endif -#ifndef S_ISLNK -# define S_ISLNK(a) 0 -#endif - /* We have strcasecmp and strncasecmp, just under different names. */ #ifndef HAVE_STRCASECMP # define strcasecmp stricmp @@ -90,18 +83,6 @@ typedef __int64 wgint; # define strtoll_type __int64 #endif -/* Windows has no symlink, therefore no lstat. Without symlinks lstat - is equivalent to stat anyway. */ -#define lstat stat - -/* Define LFS aliases for stat and fstat. */ -#ifdef stat_alias -# define stat(f, b) stat_alias (f, b) -#endif -#ifdef fstat_alias -# define fstat(f, b) fstat_alias (f, b) -#endif - #define PATH_SEPARATOR '\\' /* Additional declarations needed for IPv6: */ -- cgit v1.2.3