mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 10:01:14 +00:00
Fix build error under Windows MSVC
This commit is contained in:
parent
380623d83d
commit
3367a64592
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue