VirtualBox

Changeset 809 in kBuild for trunk/src/gmake/kmkbuiltin/ftsfake.h


Ignore:
Timestamp:
Jan 29, 2007 5:54:36 AM (18 years ago)
Author:
bird
Message:

Solaris + cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/kmkbuiltin/ftsfake.h

    r621 r809  
    3535#define _FTS_H_
    3636
     37#ifdef _MSC_VER
     38# include "kmkbuiltin/mscfakes.h"
     39#endif
     40
    3741typedef struct {
    3842        struct _ftsent *fts_cur;        /* current node */
     
    6064#ifndef _MSC_VER
    6165#define FTS_WHITEOUT    0x080           /* return whiteout information */
    62 #endif 
     66#endif
    6367#define FTS_OPTIONMASK  0x0ff           /* valid user option mask */
    6468
     
    7983#ifndef _MSC_VER
    8084        int fts_symfd;                  /* fd for symlink */
    81 #endif 
     85#endif
    8286        u_short fts_pathlen;            /* strlen(fts_path) */
    8387        u_short fts_namelen;            /* strlen(fts_name) */
     
    9296#else
    9397        int fts_nlink;          /* link count */
    94 #endif 
     98#endif
    9599#endif
    96100
     
    121125#ifndef _MSC_VER
    122126#define FTS_ISW          0x04           /* this is a whiteout object */
    123 #endif 
     127#endif
    124128        u_short fts_flags;              /* private flags for FTSENT structure */
    125129
     
    138142} FTSENT;
    139143
     144#ifndef __sun__
    140145#ifndef _MSC_VER
    141146#include <sys/cdefs.h>
    142147__BEGIN_DECLS
    143148#else
    144 #define __RENAME(a)
    145 #endif
     149#define __RENAME(a)
     150#endif
     151#endif
    146152
    147 #ifdef __LIBC12_SOURCE__
     153#if defined(__LIBC12_SOURCE__) || defined(__sun__)
    148154FTSENT  *fts_children(FTS *, int);
    149155int      fts_close(FTS *);
     
    162168#endif
    163169
     170#ifndef __sun__
    164171#ifndef _MSC_VER
    165172__END_DECLS
    166173#endif
     174#endif
    167175
    168176#endif /* !_FTS_H_ */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette