1999-11-02 01:21:24 +08:00
|
|
|
/* Generic param.h */
|
|
|
|
/* $OpenLDAP$ */
|
2003-11-26 12:16:36 +08:00
|
|
|
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
*
|
2007-01-03 04:00:42 +08:00
|
|
|
* Copyright 1998-2007 The OpenLDAP Foundation.
|
1999-11-02 01:21:24 +08:00
|
|
|
* All rights reserved.
|
|
|
|
*
|
2001-05-29 11:35:56 +08:00
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted only as authorized by the OpenLDAP
|
2003-11-26 07:17:08 +08:00
|
|
|
* Public License.
|
|
|
|
*
|
|
|
|
* A copy of this license is available in file LICENSE in the
|
|
|
|
* top-level directory of the distribution or, alternatively, at
|
|
|
|
* <http://www.OpenLDAP.org/license.html>.
|
1999-11-02 01:21:24 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _AC_PARAM_H
|
|
|
|
#define _AC_PARAM_H
|
|
|
|
|
|
|
|
#ifdef HAVE_SYS_PARAM_H
|
|
|
|
#include <sys/param.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MAXPATHLEN
|
2001-11-28 10:17:55 +08:00
|
|
|
# if defined(PATH_MAX)
|
|
|
|
# define MAXPATHLEN PATH_MAX
|
2001-11-28 10:16:44 +08:00
|
|
|
|
|
|
|
# elif defined(_MAX_PATH)
|
1999-11-02 01:21:24 +08:00
|
|
|
# define MAXPATHLEN _MAX_PATH
|
2001-11-28 10:16:44 +08:00
|
|
|
|
2001-11-28 10:09:11 +08:00
|
|
|
# else
|
|
|
|
# define MAXPATHLEN 4096
|
1999-11-02 01:21:24 +08:00
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _AC_PARAM_H */
|