Fix build error under Windows MSVC

This commit is contained in:
Frederik Seiffert 2021-10-13 12:29:11 +02:00 committed by Gregory John Casamento
parent 380623d83d
commit 3367a64592

View file

@ -60,6 +60,11 @@
#import "GNUstepGUI/GSTextConverter.h"
#import "GSGuiPrivate.h"
/* Redefine unavailable function when using the MSVC ABI on Windows. */
#ifdef _MSC_VER
# define strncasecmp _strnicmp
#endif
/* Cache class pointers to avoid the expensive lookup by string. */
static Class dictionaryClass = nil;
static Class stringClass = nil;