summaryrefslogtreecommitdiff
path: root/src/mswindows.h
diff options
context:
space:
mode:
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: */