home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ldapsdk.zip / include / ac / stdlib.h < prev    next >
C/C++ Source or Header  |  2001-05-30  |  925b  |  36 lines

  1. /* Generic stdlib.h */
  2. /* $OpenLDAP: pkg/ldap/include/ac/stdlib.h,v 1.2.8.4 2001/05/30 05:10:45 kurt Exp $ */
  3. /*
  4.  * Copyright 1998-2001 The OpenLDAP Foundation, Redwood City, California, USA
  5.  * All rights reserved.
  6.  *
  7.  * Redistribution and use in source and binary forms, with or without
  8.  * modification, are permitted only as authorized by the OpenLDAP
  9.  * Public License.  A copy of this license is available at
  10.  * http://www.OpenLDAP.org/license.html or in file LICENSE in the
  11.  * top-level directory of the distribution.
  12.  */
  13.  
  14. #ifndef _AC_STDLIB_H
  15. #define _AC_STDLIB_H
  16.  
  17. #if defined( HAVE_CSRIMALLOC )
  18. #include <stdio.h>
  19. #define MALLOC_TRACE
  20. #include <libmalloc.h>
  21. #endif
  22.  
  23. #include <stdlib.h>
  24.  
  25. /* Ignore malloc.h if we have STDC_HEADERS */
  26. #if defined(HAVE_MALLOC_H) && !defined(STDC_HEADERS)
  27. #    include <malloc.h>
  28. #endif
  29.  
  30. #ifndef EXIT_SUCCESS
  31. #    define EXIT_SUCCESS 0
  32. #    define EXIT_FAILURE 1
  33. #endif
  34.  
  35. #endif /* _AC_STDLIB_H */
  36.