This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to use strchr, strrchr


On Thu, 2 Nov 2000, Richard Henderson wrote:

> You'll want to fix up system.h such that if !HAVE_STRCHR && HAVE_INDEX
> that the appropriate macros get defined.  Currently they go the wrong
> direction.

It's been working for years with a mixture of both forms in GCC, using the
strchr from libiberty on systems that don't have one.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]