1 /*********************************************************************** 2 * * 3 * This software is part of the ast package * 4 * Copyright (c) 1985-2010 AT&T Intellectual Property * 5 * and is licensed under the * 6 * Common Public License, Version 1.0 * 7 * by AT&T Intellectual Property * 8 * * 9 * A copy of the License is available at * 10 * http://www.opensource.org/licenses/cpl1.0.txt * 11 * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * 12 * * 13 * Information and Software Systems Research * 14 * AT&T Research * 15 * Florham Park NJ * 16 * * 17 * Glenn Fowler <gsf@research.att.com> * 18 * David Korn <dgk@research.att.com> * 19 * Phong Vo <kpv@research.att.com> * 20 * * 21 ***********************************************************************/ 22 23 /* : : generated by proto : : */ 24 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_i386_32bit/src/lib/libast/features/dirent by iffe version 2009-12-04 : : */ 25 26 #ifndef _def_dirent_ast 27 #if !defined(__PROTO__) 28 # if defined(__STDC__) || defined(__cplusplus) || defined(_proto) || defined(c_plusplus) 29 # if defined(__cplusplus) 30 # define __LINKAGE__ "C" 31 # else 32 # define __LINKAGE__ 33 # endif 34 # define __STDARG__ 35 # define __PROTO__(x) x 36 # define __OTORP__(x) 37 # define __PARAM__(n,o) n 38 # if !defined(__STDC__) && !defined(__cplusplus) 39 # if !defined(c_plusplus) 40 # define const 41 # endif 42 # define signed 43 # define void int 44 # define volatile 45 # define __V_ char 46 # else 47 # define __V_ void 48 # endif 49 # else 50 # define __PROTO__(x) () 51 # define __OTORP__(x) x 52 # define __PARAM__(n,o) o 53 # define __LINKAGE__ 54 # define __V_ char 55 # define const 56 # define signed 57 # define void int 58 # define volatile 59 # endif 60 # define __MANGLE__ __LINKAGE__ 61 # if defined(__cplusplus) || defined(c_plusplus) 62 # define __VARARG__ ... 63 # else 64 # define __VARARG__ 65 # endif 66 # if defined(__STDARG__) 67 # define __VA_START__(p,a) va_start(p,a) 68 # else 69 # define __VA_START__(p,a) va_start(p) 70 # endif 71 # if !defined(__INLINE__) 72 # if defined(__cplusplus) 73 # define __INLINE__ extern __MANGLE__ inline 74 # else 75 # if defined(_WIN32) && !defined(__GNUC__) 76 # define __INLINE__ __inline 77 # endif 78 # endif 79 # endif 80 #endif 81 #if !defined(__LINKAGE__) 82 #define __LINKAGE__ /* 2004-08-11 transition */ 83 #endif 84 85 #define _def_dirent_ast 1 86 #define _lib_opendir 1 /* opendir() in default lib(s) */ 87 #define _hdr_dirent 1 /* #include <dirent.h> ok */ 88 #define _nxt_dirent <../include/dirent.h> /* include path for the native <dirent.h> */ 89 #define _nxt_dirent_str "../include/dirent.h" /* include string for the native <dirent.h> */ 90 /* 91 * <dirent.h> for [fl]stat64 and off64_t 92 */ 93 94 #ifndef _AST_STD_H 95 96 #include <../include/dirent.h> /* the native <dirent.h> */ 97 98 #else 99 100 #ifndef _DIR64_H 101 #define _DIR64_H 102 103 #include <ast_std.h> 104 105 #if _typ_off64_t 106 #undef off_t 107 #endif 108 109 #include <../include/dirent.h> /* the native <dirent.h> */ 110 111 #if _typ_off64_t 112 #define off_t off64_t 113 #endif 114 115 #if _lib_readdir64 && _typ_struct_dirent64 116 #ifndef dirent 117 #define dirent dirent64 118 #endif 119 #ifndef readdir 120 #define readdir readdir64 121 #endif 122 #endif 123 124 #endif 125 126 #endif 127 #endif 128