Changeset 3579

Show
Ignore:
Timestamp:
01/04/05 22:01:07 (4 years ago)
Author:
fujii
Message:

* dired.c: undefine S_ISLNK and S_IFLNK for mingw-runtime 3.6
and later.

* fileio.c : Ditto.

* filemode.c: Ditto.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.1/src/ChangeLog.Meadow

    r3568 r3579  
     12005-01-04  Masayuki FUJII  <boochang@m4.kcn.ne.jp> 
     2 
     3        * dired.c: undefine S_ISLNK and S_IFLNK for mingw-runtime 3.6 
     4        and later. 
     5 
     6        * fileio.c : Ditto. 
     7 
     8        * filemode.c: Ditto. 
     9 
    1102004-12-02  Kyotaro HORIGUCHI  <horiguti@meadowy.org> 
    211 
  • branches/2.1/src/dired.c

    r3104 r3579  
    7070 
    7171#include <sys/stat.h> 
     72 
     73/* S_ISLNK and S_IFLNK are defined in mingw-runtime, although symbolic 
     74   link is not supported on Windows. */ 
     75#if defined(MEADOW) && defined(__MINGW32__) 
     76#undef S_ISLNK 
     77#undef S_IFLNK 
     78#endif 
    7279 
    7380#ifndef MSDOS 
  • branches/2.1/src/fileio.c

    r3298 r3579  
    3131#include <sys/types.h> 
    3232#include <sys/stat.h> 
     33 
     34/* S_ISLNK and S_IFLNK are defined in mingw-runtime, although symbolic 
     35   link is not supported on Windows. */ 
     36#if defined(MEADOW) && defined(__MINGW32__) 
     37#undef S_ISLNK 
     38#undef S_IFLNK 
     39#endif 
    3340 
    3441#ifdef HAVE_UNISTD_H 
  • branches/2.1/src/filemode.c

    r3104 r3579  
    2323#include <sys/types.h> 
    2424#include <sys/stat.h> 
     25 
     26/* S_ISLNK and S_IFLNK are defined in mingw-runtime, although symbolic 
     27   link is not supported on Windows. */ 
     28#if defined(MEADOW) && defined(__MINGW32__) 
     29#undef S_ISLNK 
     30#undef S_IFLNK 
     31#endif 
    2532 
    2633#if !S_IRUSR