Changeset 287 for trunk/src/gmake/dir.c


Ignore:
Timestamp:
May 17, 2005, 1:34:55 AM (20 years ago)
Author:
bird
Message:

join + optimizations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/dir.c

    r57 r287  
    124124downcase (char *filename)
    125125{
    126 #ifdef _AMIGA
    127   static char new_filename[136];
    128 #else
    129   static char new_filename[PATH_MAX];
    130 #endif
     126  static PATH_VAR (new_filename);
    131127  char *df;
    132128  int i;
     
    11421138          d = (struct dirent *) buf;
    11431139#ifdef __MINGW32__
    1144 # if __MINGW32_VERSION_MAJOR < 3 || (__MINGW32_VERSION_MAJOR == 3 && \
    1145                                      __MINGW32_VERSION_MINOR == 0)
     1140# if __MINGW32_MAJOR_VERSION < 3 || (__MINGW32_MAJOR_VERSION == 3 && \
     1141                                     __MINGW32_MINOR_VERSION == 0)
    11461142          d->d_name = xmalloc(len);
    11471143# endif
     
    11631159
    11641160static void
    1165 ansi_free(void *p)
    1166 {
    1167     if (p)
    1168       free(p);
     1161ansi_free (void *p)
     1162{
     1163  if (p)
     1164    free(p);
    11691165}
    11701166
Note: See TracChangeset for help on using the changeset viewer.