mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
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:
parent
fbae8cd6c1
commit
a6ff22e95b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user