1*906afcb8SAndy Fiddaman 2*906afcb8SAndy Fiddaman/* : : generated by proto : : */ 3*906afcb8SAndy Fiddaman/* : : generated from contrib/ast/src/lib/libast/features/dirent by iffe version 2012-07-17 : : */ 4*906afcb8SAndy Fiddaman 5*906afcb8SAndy Fiddaman#ifndef _def_dirent_ast 6*906afcb8SAndy Fiddaman#if !defined(__PROTO__) 7*906afcb8SAndy Fiddaman# if defined(__STDC__) || defined(__cplusplus) || defined(_proto) || defined(c_plusplus) 8*906afcb8SAndy Fiddaman# if defined(__cplusplus) 9*906afcb8SAndy Fiddaman# define __LINKAGE__ "C" 10*906afcb8SAndy Fiddaman# else 11*906afcb8SAndy Fiddaman# define __LINKAGE__ 12*906afcb8SAndy Fiddaman# endif 13*906afcb8SAndy Fiddaman# define __STDARG__ 14*906afcb8SAndy Fiddaman# define __PROTO__(x) x 15*906afcb8SAndy Fiddaman# define __OTORP__(x) 16*906afcb8SAndy Fiddaman# define __PARAM__(n,o) n 17*906afcb8SAndy Fiddaman# if !defined(__STDC__) && !defined(__cplusplus) 18*906afcb8SAndy Fiddaman# if !defined(c_plusplus) 19*906afcb8SAndy Fiddaman# define const 20*906afcb8SAndy Fiddaman# endif 21*906afcb8SAndy Fiddaman# define signed 22*906afcb8SAndy Fiddaman# define void int 23*906afcb8SAndy Fiddaman# define volatile 24*906afcb8SAndy Fiddaman# define __V_ char 25*906afcb8SAndy Fiddaman# else 26*906afcb8SAndy Fiddaman# define __V_ void 27*906afcb8SAndy Fiddaman# endif 28*906afcb8SAndy Fiddaman# else 29*906afcb8SAndy Fiddaman# define __PROTO__(x) () 30*906afcb8SAndy Fiddaman# define __OTORP__(x) x 31*906afcb8SAndy Fiddaman# define __PARAM__(n,o) o 32*906afcb8SAndy Fiddaman# define __LINKAGE__ 33*906afcb8SAndy Fiddaman# define __V_ char 34*906afcb8SAndy Fiddaman# define const 35*906afcb8SAndy Fiddaman# define signed 36*906afcb8SAndy Fiddaman# define void int 37*906afcb8SAndy Fiddaman# define volatile 38*906afcb8SAndy Fiddaman# endif 39*906afcb8SAndy Fiddaman# define __MANGLE__ __LINKAGE__ 40*906afcb8SAndy Fiddaman# if defined(__cplusplus) || defined(c_plusplus) 41*906afcb8SAndy Fiddaman# define __VARARG__ ... 42*906afcb8SAndy Fiddaman# else 43*906afcb8SAndy Fiddaman# define __VARARG__ 44*906afcb8SAndy Fiddaman# endif 45*906afcb8SAndy Fiddaman# if defined(__STDARG__) 46*906afcb8SAndy Fiddaman# define __VA_START__(p,a) va_start(p,a) 47*906afcb8SAndy Fiddaman# else 48*906afcb8SAndy Fiddaman# define __VA_START__(p,a) va_start(p) 49*906afcb8SAndy Fiddaman# endif 50*906afcb8SAndy Fiddaman# if !defined(__INLINE__) 51*906afcb8SAndy Fiddaman# if defined(__cplusplus) 52*906afcb8SAndy Fiddaman# define __INLINE__ extern __MANGLE__ inline 53*906afcb8SAndy Fiddaman# else 54*906afcb8SAndy Fiddaman# if defined(_WIN32) && !defined(__GNUC__) 55*906afcb8SAndy Fiddaman# define __INLINE__ __inline 56*906afcb8SAndy Fiddaman# endif 57*906afcb8SAndy Fiddaman# endif 58*906afcb8SAndy Fiddaman# endif 59*906afcb8SAndy Fiddaman#endif 60*906afcb8SAndy Fiddaman#if !defined(__LINKAGE__) 61*906afcb8SAndy Fiddaman#define __LINKAGE__ /* 2004-08-11 transition */ 62*906afcb8SAndy Fiddaman#endif 63*906afcb8SAndy Fiddaman 64*906afcb8SAndy Fiddaman#define _def_dirent_ast 1 65*906afcb8SAndy Fiddaman#define _lib_opendir 1 /* opendir() in default lib(s) */ 66*906afcb8SAndy Fiddaman#define _hdr_dirent 1 /* #include <dirent.h> ok */ 67*906afcb8SAndy Fiddaman#define _nxt_dirent <../include/dirent.h> /* include path for the native <dirent.h> */ 68*906afcb8SAndy Fiddaman#define _nxt_dirent_str "../include/dirent.h" /* include string for the native <dirent.h> */ 69*906afcb8SAndy Fiddaman/* 70*906afcb8SAndy Fiddaman * <dirent.h> for systems with ok <dirent.h> 71*906afcb8SAndy Fiddaman */ 72*906afcb8SAndy Fiddaman 73*906afcb8SAndy Fiddaman#ifndef _DIRENT_H 74*906afcb8SAndy Fiddaman 75*906afcb8SAndy Fiddaman#include <../include/dirent.h> /* the native <dirent.h> */ 76*906afcb8SAndy Fiddaman 77*906afcb8SAndy Fiddaman#ifndef _DIRENT_H 78*906afcb8SAndy Fiddaman#define _DIRENT_H 79*906afcb8SAndy Fiddaman#endif 80*906afcb8SAndy Fiddaman 81*906afcb8SAndy Fiddaman#endif 82*906afcb8SAndy Fiddaman#endif 83