Skip to content

Commit

Permalink
Merge pull request #54 from thbeu/fix-warning-stricmp
Browse files Browse the repository at this point in the history
Fix MSVC warning on stricmp
  • Loading branch information
rouault authored Oct 30, 2023
2 parents 20c341f + 7096055 commit 0713692
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dbfopen.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
#include "cpl_string.h"
#else

#if defined(WIN32) || defined(_WIN32)
#if defined(_MSC_VER)
#define STRCASECMP(a, b) (_stricmp(a, b))
#elif defined(WIN32) || defined(_WIN32)
#define STRCASECMP(a, b) (stricmp(a, b))
#else
#include <strings.h>
Expand Down

0 comments on commit 0713692

Please sign in to comment.