Ignore:
Timestamp:
Jul 3, 2005, 5:48:26 AM (20 years ago)
Author:
bird
Message:

..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libctests/glibc/io/ftwtest.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r2175 r2176  
    77#include <unistd.h>
    88#include <sys/stat.h>
     9#ifdef FTW_CONTINUE
     10#define FTW_CONTINUE 0
     11#endif
     12#ifdef FTW_STOP
     13#define FTW_STOP 1
     14#endif
     15
    916
    1017
     
    5562  printf (", level = %d\n", f->level);
    5663
     64#ifdef FTW_ACTIONRETVAL
    5765  if (skip_siblings && strcmp (name + f->base, skip_siblings) == 0)
    5866    return FTW_SKIP_SIBLINGS;
     
    6068  if (skip_subtree && strcmp (name + f->base, skip_subtree) == 0)
    6169    return FTW_SKIP_SUBTREE;
     70#endif
    6271
    6372  return do_exit ? 26 : FTW_CONTINUE;
     
    8897  if (skip_subtree || skip_siblings)
    8998    {
     99#ifdef FTW_ACTIONRETVAL
    90100      flag |= FTW_ACTIONRETVAL;
     101#endif
    91102      if (do_exit)
    92103        {
Note: See TracChangeset for help on using the changeset viewer.