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