X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrtok_r.c;h=f7e0e63e515d333198ae12d6d6d73e4ce7c8cd8e;hb=598580519cc391a0856e5ff7a15c1634d0ad29bc;hp=232474a7be894741a3c8e000772806b23911de24;hpb=f0a1525ce8bcfb464598465cc6fea36a706c5f44;p=gnulib.git diff --git a/lib/strtok_r.c b/lib/strtok_r.c index 232474a7b..f7e0e63e5 100644 --- a/lib/strtok_r.c +++ b/lib/strtok_r.c @@ -1,5 +1,5 @@ /* Reentrant string tokenizer. Generic version. - Copyright (C) 1991,1996-1999,2001,2004,2007 Free Software Foundation, Inc. + Copyright (C) 1991,1996-1999,2001,2004,2007,2009 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software: you can redistribute it and/or modify @@ -21,10 +21,10 @@ #include -#undef strtok_r -#undef __strtok_r - -#ifndef _LIBC +#ifdef _LIBC +# undef strtok_r +# undef __strtok_r +#else # define __strtok_r strtok_r # define __rawmemchr strchr #endif