Hello,
Just joined as I'm compiling git on a new platform and wondered if
someone can help solve a problem with the definition of S_IFGITLINK.
On my platform I have the following definitions....
#define __S_IFSOCK 0010000 /* Socket. */
#define __S_IFCHR 0020000 /* Character device. */
#define __S_IFDIR 0040000 /* Directory. */
#define __S_IFBLK 0060000 /* Block device. */
#define __S_IFREG 0100000 /* Regular file. */
#define __S_IFIFO 0120000 /* FIFO. */
#define __S_IFMEM 0140000 /* memory region or process */
#define __S_IFLNK 0160000 /* Symbolic link. */
Yet, S_IFGITLINK in the git sources is defined as 0160000, so this
clashes with my platform.
There is a comment about the definition of S_IFGITLINK in cache.h that
it shouldn't be used like this and should use internal values.
So I'm wondering if this can be fixed to remove this assumption ?
Additionally, attached is a patch that I currently need to apply in
order to compile git successfully on the FreeMiNT platform (which is
m68k based).
Comments appreciated.
Thanks,
Alan.