Merge pull request #665 from Teebonne/patch-5

Fixes error LNK2019: unresolved external symbol
This commit is contained in:
Thomas Fussell 2022-12-03 10:34:23 -06:00 committed by GitHub
commit 80a692725c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,10 +28,14 @@
#ifdef XLNT_EXPORT
#define XLNT_API __declspec(dllexport)
#else
#ifdef XLNT_SHARED
// For clients of the library, supress warnings about DLL interfaces for standard library classes
#pragma warning(disable : 4251)
#pragma warning(disable : 4275)
#define XLNT_API __declspec(dllimport)
#else
#define XLNT_API
#endif
#endif
#else
#define XLNT_API