1 /* RCS $Id: posix.h,v 1.3 2006-04-20 12:01:40 hr Exp $
4 -- Definition for POSIX conforming defines in dmake.
7 -- This file is intended to make certain that defines used within dmake
8 -- for file name lengths, and number of children processes are defined.
11 -- Dennis Vadura, dvadura@dmake.wticorp.com
14 -- http://dmake.wticorp.com/
17 -- Copyright (c) 1996,1997 by WTI Corp. All rights reserved.
19 -- This program is NOT free software; you can redistribute it and/or
20 -- modify it under the terms of the Software License Agreement Provided
21 -- in the file <distribution-root>/readme/license.txt.
24 -- Use cvs log to obtain detailed change logs.
27 /* Define the minimum values that each system requires, and do so only if
28 * we have not defined these includes elsewhere. These should already be
29 * defined in <limits.h> if you have a C compiler that is POSIX compliant.
31 #ifndef _POSIX_NAME_MAX
32 #define _POSIX_NAME_MAX 14
35 #ifndef _POSIX_PATH_MAX
36 #define _POSIX_PATH_MAX 64
39 #ifndef _POSIX_CHILD_MAX
40 #define _POSIX_CHILD_MAX 1
43 /* Now define the actual manifests used in the code. */
45 #define NAME_MAX _POSIX_NAME_MAX
49 #define PATH_MAX _POSIX_PATH_MAX
53 #define CHILD_MAX _POSIX_CHILD_MAX
56 /* FIXME! This is a very big hammer, these values should be set to
57 * sensible values in the architecture dependent sysintf.h files. */