diff options
author | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-04-20 13:30:32 +0000 |
---|---|---|
committer | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-04-20 13:30:32 +0000 |
commit | 9450f9abeab3e5f62c10a666e4c8964903aa8d50 (patch) | |
tree | a213165f2739bf58740ac3d4ad87dedb50551828 /gcc | |
parent | 5badb76f9927f2e1590b5c5fc50a45948b93f153 (diff) | |
download | gcc-9450f9abeab3e5f62c10a666e4c8964903aa8d50.tar.gz |
Add extra protection in case strrchr already defined
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19343 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/protoize.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c index 754d6c23ce8..70599879bbc 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -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 |