No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / openldap / dist / include / ac / param.h
blob1b1374f0925a40b4efc3c39dd50e2776ce567d63
1 /* Generic param.h */
2 /* $OpenLDAP: pkg/ldap/include/ac/param.h,v 1.13.2.3 2008/02/11 23:26:40 kurt Exp $ */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 * Copyright 1998-2008 The OpenLDAP Foundation.
6 * All rights reserved.
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted only as authorized by the OpenLDAP
10 * Public License.
12 * A copy of this license is available in file LICENSE in the
13 * top-level directory of the distribution or, alternatively, at
14 * <http://www.OpenLDAP.org/license.html>.
17 #ifndef _AC_PARAM_H
18 #define _AC_PARAM_H
20 #ifdef HAVE_SYS_PARAM_H
21 #include <sys/param.h>
22 #endif
24 #ifndef MAXPATHLEN
25 # if defined(PATH_MAX)
26 # define MAXPATHLEN PATH_MAX
28 # elif defined(_MAX_PATH)
29 # define MAXPATHLEN _MAX_PATH
31 # else
32 # define MAXPATHLEN 4096
33 # endif
34 #endif
36 #endif /* _AC_PARAM_H */