Skip to content

Commit

Permalink
Remove definiton of strchr
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3xdh committed Jul 5, 2024
1 parent 6a2305a commit 826a2a4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*
* You should have received a copy of the GNU General Public License
* along with this package; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
* Boston, MA 02110-1301, USA.
* Boston, MA 02110-1301, USA.
*
* $Id$
*
Expand All @@ -29,10 +29,10 @@
# include <ieeefp.h>
#endif

#if !HAVE_STRCHR
# define strchr index
# define strrchr rindex
#endif
//#if !HAVE_STRCHR
//# define strchr index
//# define strrchr rindex
//#endif

#if defined(_WIN32) & not defined(__MINGW32__)
#define strcasecmp stricmp
Expand Down

0 comments on commit 826a2a4

Please sign in to comment.