Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_tlsv12/sys/src/cmd/gs/src/dirent_.h – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
/* Copyright (C) 1993, 1997, 1998 Aladdin Enterprises.  All rights reserved.
2
 
3
  This software is provided AS-IS with no warranty, either express or
4
  implied.
5
 
6
  This software is distributed under license and may not be copied,
7
  modified or distributed except as expressly authorized under the terms
8
  of the license contained in the file LICENSE in this distribution.
9
 
10
  For more information about licensing, please refer to
11
  http://www.ghostscript.com/licensing/. For information on
12
  commercial licensing, go to http://www.artifex.com/licensing/ or
13
  contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
  San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
*/
16
 
17
/* $Id: dirent_.h,v 1.4 2002/02/21 22:24:51 giles Exp $ */
18
/* Generic substitute for Unix dirent.h */
19
 
20
#ifndef dirent__INCLUDED
21
#  define dirent__INCLUDED
22
 
23
/* We must include std.h before any file that includes sys/types.h. */
24
#include "std.h"
25
 
26
/*
27
 * The location (or existence) of certain system headers is
28
 * environment-dependent. We detect this in the makefile
29
 * and conditionally define switches in gconfig_.h.
30
 */
31
#include "gconfig_.h"
32
 
33
/*
34
 * Directory entries may be defined in quite a number of different
35
 * header files.  The following switches are defined in gconfig_.h.
36
 */
37
#ifdef HAVE_DIRENT_H
38
#  include <dirent.h>
39
typedef struct dirent dir_entry;
40
 
41
#else /* sys/ndir or ndir or sys/dir, i.e., no dirent */
42
#  ifdef HAVE_SYS_DIR_H
43
#    include <sys/dir.h>
44
#  endif
45
#  ifdef HAVE_SYS_NDIR_H
46
#    include <sys/ndir.h>
47
#  endif
48
#  ifdef HAVE_NDIR_H
49
#    include <ndir.h>
50
#  endif
51
typedef struct direct dir_entry;
52
 
53
#endif /* sys/ndir or ndir or sys/dir */
54
 
55
#endif /* dirent__INCLUDED */