Re: RTLD_NOW [FreeBSD]; libgnome/gnome-parse.c patch
- From: Ulrich Drepper <drepper cygnus com>
- To: tromey cygnus com
- Cc: Josh Sled <jsled scam XCF Berkeley EDU>, gnome-list gnome org, dhawkins rmas com
- Subject: Re: RTLD_NOW [FreeBSD]; libgnome/gnome-parse.c patch
- Date: 08 May 1998 07:21:51 -0700
Tom Tromey <tromey@cygnus.com> writes:
> Is the problem that FreeBSD doesn't have a <malloc.h>?
> Or is it that <malloc.h> loses by printing a warning?
In all GNU packages it is solved this way:
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#else
# ifdef HAVE_MALLOC_H
# include <malloc.h>
# else
... define the prototypes here, if necessary ...
# endif
#endif
-- Uli
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]