mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Merge pull request #665 from Teebonne/patch-5
Fixes error LNK2019: unresolved external symbol
This commit is contained in:
commit
80a692725c
|
@ -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