summaryrefslogtreecommitdiff
path: root/src/mswindows.h
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:08:13 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-03-05 10:08:13 +0900
commit61fb427c104d6f2334aaee9c7d90d8287d521b17 (patch)
treee4caa30fa69cb51705f22392cab8cf9c04dffb94 /src/mswindows.h
parent1478f6ab011981e9a986c0c30da680635d3e77bf (diff)
downloadwget-61fb427c104d6f2334aaee9c7d90d8287d521b17.tar.gz
wget-61fb427c104d6f2334aaee9c7d90d8287d521b17.tar.bz2
wget-61fb427c104d6f2334aaee9c7d90d8287d521b17.zip
Imported Upstream version 1.16.1upstream/1.16.1
Diffstat (limited to 'src/mswindows.h')
-rw-r--r--src/mswindows.h19
1 files changed, 0 insertions, 19 deletions
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 <process.h>
-#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: */