Last change
on this file since 1c1c9c2 was d7d2da3, checked in by pavel <pavel@…>, 12 years ago |
move branches/ModularDelphes to trunk
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | /*
|
---|
2 | * tclUnixPort.h --
|
---|
3 | *
|
---|
4 | * This header file handles porting issues that occur because
|
---|
5 | * of differences between systems. It reads in UNIX-related
|
---|
6 | * header files and sets up UNIX-related macros for Tcl's UNIX
|
---|
7 | * core. It should be the only file that contains #ifdefs to
|
---|
8 | * handle different flavors of UNIX. This file sets up the
|
---|
9 | * union of all UNIX-related things needed by any of the Tcl
|
---|
10 | * core files. This file depends on configuration #defines such
|
---|
11 | * as NO_DIRENT_H that are set up by the "configure" script.
|
---|
12 | *
|
---|
13 | * Much of the material in this file was originally contributed
|
---|
14 | * by Karl Lehenbauer, Mark Diekhans and Peter da Silva.
|
---|
15 | *
|
---|
16 | * Copyright (c) 1991-1994 The Regents of the University of California.
|
---|
17 | * Copyright (c) 1994-1995 Sun Microsystems, Inc.
|
---|
18 | *
|
---|
19 | * See the file "license.terms" for information on usage and redistribution
|
---|
20 | * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
---|
21 | *
|
---|
22 | * RCS: @(#) $Id: tclUnixPort.h,v 1.1 2008-06-04 13:58:11 demin Exp $
|
---|
23 | */
|
---|
24 |
|
---|
25 | #ifndef _TCLUNIXPORT
|
---|
26 | #define _TCLUNIXPORT
|
---|
27 |
|
---|
28 | #include <errno.h>
|
---|
29 | #include <fcntl.h>
|
---|
30 | #include <sys/stat.h>
|
---|
31 |
|
---|
32 | /*
|
---|
33 | * Define access mode constants if they aren't already defined.
|
---|
34 | */
|
---|
35 |
|
---|
36 | #ifndef F_OK
|
---|
37 | # define F_OK 00
|
---|
38 | #endif
|
---|
39 | #ifndef X_OK
|
---|
40 | # define X_OK 01
|
---|
41 | #endif
|
---|
42 | #ifndef W_OK
|
---|
43 | # define W_OK 02
|
---|
44 | #endif
|
---|
45 | #ifndef R_OK
|
---|
46 | # define R_OK 04
|
---|
47 | #endif
|
---|
48 |
|
---|
49 | #endif /* _TCLUNIXPORT */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.