Re: inline.m4: use compiler, not cpp

2006-11-11 Thread Paul Eggert
Eric Blake <[EMAIL PROTECTED]> writes: > What I should have done, of course, is: > #if HAVE_INLINE > static inline unsigned char to_uchar (char ch) { return ch; } > #else > # define to_uchar(C) ((unsigned char) (C)) > #endif No, let's not go that route! We should keep code simple, and not sprink

Re: inline.m4: use compiler, not cpp

2006-11-11 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 11/10/2006 4:14 AM: > > Without -O, gcc *does* define __NO_INLINE__, so HAVE_INLINE was not > defined. However, when compiling (with $CFLAGS containing -O), there > was no external definition of any function like xnmalloc