No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / openldap / dist / include / ac / stdlib.h
blobc9d78d1c3a6844d3e9f1ce595e5a66629c681eb1
1 /* Generic stdlib.h */
2 /* $OpenLDAP: pkg/ldap/include/ac/stdlib.h,v 1.19.2.4 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_STDLIB_H
18 #define _AC_STDLIB_H
20 #if defined( HAVE_CSRIMALLOC )
21 #include <stdio.h>
22 #define MALLOC_TRACE
23 #include <libmalloc.h>
24 #endif
26 #include <stdlib.h>
28 /* Ignore malloc.h if we have STDC_HEADERS */
29 #if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS)
30 # include <malloc.h>
31 #endif
33 #ifndef EXIT_SUCCESS
34 # define EXIT_SUCCESS 0
35 # define EXIT_FAILURE 1
36 #endif
38 #ifdef HAVE_LIMITS_H
39 #include <limits.h>
40 #endif
42 #if defined(LINE_MAX)
43 # define AC_LINE_MAX LINE_MAX
44 #else
45 # define AC_LINE_MAX 2048 /* POSIX MIN */
46 #endif
48 #endif /* _AC_STDLIB_H */