3 * Copyright 1999-2000 The OpenLDAP Foundation, Redwood City, California, USA
6 * Redistribution and use in source and binary forms are permitted only
7 * as authorized by the OpenLDAP Public License. A copy of this
8 * license is available at http://www.OpenLDAP.org/license.html or
9 * in file LICENSE in the top-level directory of the distribution.
14 #ifdef LDAP_NEED_ASSERT
19 * helper for our private assert() macro
21 * note: if assert() doesn't exist, like abort() or raise() won't either.
22 * could use kill() but that might be problematic. I'll just ignore this
27 ber_pvt_assert( const char *file, int line, const char *test )
30 "Assertion failed: %s, file %s, line %d\n",