libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ltdl.c ifdefs


From: Bob Friesenhahn
Subject: ltdl.c ifdefs
Date: Tue, 6 Apr 2004 12:49:09 -0500 (CDT)

It appears that ltdl.c is using considerable preprocessor logic of the
form:

#if WITH_DMALLOC

This form is clearly incorrect unless WITH_DMALLOC is always defined
(e.g. as 1 or 0).

The form

#if defined(WITH_DMALLOC)

or

#ifdef WITH_DMALLOC

is correct given the way that config.h defines are maintained.

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]