1
/* $OpenLDAP: pkg/ldap/libraries/liblber/assert.c,v 1.13.2.3 2008/02/11 23:26:41 kurt Exp $ */
2
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4
* Copyright 1998-2008 The OpenLDAP Foundation.
7
* Redistribution and use in source and binary forms, with or without
8
* modification, are permitted only as authorized by the OpenLDAP
11
* A copy of this license is available in the file LICENSE in the
12
* top-level directory of the distribution or, alternatively, at
13
* <http://www.OpenLDAP.org/license.html>.
18
#ifdef LDAP_NEED_ASSERT
23
* helper for our private assert() macro
25
* note: if assert() doesn't exist, like abort() or raise() won't either.
26
* could use kill() but that might be problematic. I'll just ignore this
31
ber_pvt_assert( const char *file, int line, const char *test )
34
_("Assertion failed: %s, file %s, line %d\n"),