mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
MSVC compatibility: Fix r18748, r18761 by replacing strncasecmp() with strnicmp().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18773 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -49,6 +49,11 @@
|
|||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
/* In MSVC, the strncasecmp function is available as _strnicmp */
|
||||||
|
# define strncasecmp _strnicmp
|
||||||
|
#endif /* _MSC_VER */
|
||||||
|
|
||||||
char *
|
char *
|
||||||
get_win32_locale_string (int lctype)
|
get_win32_locale_string (int lctype)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user