Skip to content

Commit

Permalink
Fix MSVC warning on stricmp
Browse files Browse the repository at this point in the history
  • Loading branch information
thbeu committed Oct 28, 2023
1 parent 7faa065 commit 7096055
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 7096055

Please sign in to comment.