Add defines for export of classes to DLL when building on WIndows

This commit is contained in:
Gregory John Casamento 2022-09-29 12:09:13 -04:00
parent 7a42b1d04c
commit 92d27c494f
258 changed files with 1014 additions and 741 deletions

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;