Commit 2b6ede1d by Michael Meissner

Add extra protection in case strrchr already defined

From-SVN: r19343
parent 763d7ce8
......@@ -78,11 +78,13 @@ Boston, MA 02111-1307, USA. */
but it normally does declare it. This means that configure thinks we don't
need to declare it. Favor using strrchr if it is available. */
#ifndef strrchr
#ifndef HAVE_STRRCHR
#ifdef HAVE_RINDEX
#define strrchr rindex
#endif
#endif
#endif
/* Include getopt.h for the sake of getopt_long.
We don't need the declaration of getopt, and it could conflict
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment