openldap/include/ac/param.h

37 lines
821 B
C
Raw Normal View History

1999-11-01 12:21:24 -05:00
/* Generic param.h */
/* $OpenLDAP$ */
2003-11-25 23:16:36 -05:00
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
2006-01-03 18:11:52 -05:00
* Copyright 1998-2006 The OpenLDAP Foundation.
1999-11-01 12:21:24 -05:00
* All rights reserved.
*
2001-05-28 23:35:56 -04:00
* Redistribution and use in source and binary forms, with or without
* modification, are permitted only as authorized by the OpenLDAP
2003-11-25 18:17:08 -05: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-01 12:21:24 -05:00
*/
#ifndef _AC_PARAM_H
#define _AC_PARAM_H
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifndef MAXPATHLEN
2001-11-27 21:17:55 -05:00
# if defined(PATH_MAX)
# define MAXPATHLEN PATH_MAX
2001-11-27 21:16:44 -05:00
# elif defined(_MAX_PATH)
1999-11-01 12:21:24 -05:00
# define MAXPATHLEN _MAX_PATH
2001-11-27 21:16:44 -05:00
2001-11-27 21:09:11 -05:00
# else
# define MAXPATHLEN 4096
1999-11-01 12:21:24 -05:00
# endif
#endif
#endif /* _AC_PARAM_H */