summaryrefslogtreecommitdiff
path: root/compat/win32
diff options
context:
space:
mode:
authorLibravatar Karsten Blees <blees@dcon.de>2011-01-07 17:34:33 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-06-09 15:10:52 -0700
commit1d94c403fd52eddd2c4d6c0123f64c56a79bfca7 (patch)
tree9b9030a3b1c1a2747f16c724a8d22ebd0af7c3ef /compat/win32
parentSync with 1.9.4 (diff)
downloadtgif-1d94c403fd52eddd2c4d6c0123f64c56a79bfca7.tar.xz
Win32 dirent: remove unused dirent.d_ino member
There are no proper inodes on Windows, so remove dirent.d_ino and #define NO_D_INO_IN_DIRENT in the Makefile (this skips e.g. an ineffective qsort in fsck.c). Signed-off-by: Karsten Blees <blees@dcon.de> Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Stepan Kasal <kasal@ucw.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/win32')
-rw-r--r--compat/win32/dirent.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/compat/win32/dirent.h b/compat/win32/dirent.h
index 927a25ca76..b38973b051 100644
--- a/compat/win32/dirent.h
+++ b/compat/win32/dirent.h
@@ -9,7 +9,6 @@ typedef struct DIR DIR;
#define DT_LNK 3
struct dirent {
- long d_ino; /* Always zero. */
char d_name[FILENAME_MAX]; /* File name. */
union {
unsigned short d_reclen; /* Always zero. */