Fixes error LNK2019: unresolved external symbol

This fixes the error LNK2019: unresolved external symbol "__declspec(dllimport) public: that I had.
This commit is contained in:
Teebonne 2022-09-03 22:28:38 +01:00 committed by GitHub
parent fbae8cd6c1
commit a6ff22e95b
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