mirror of https://github.com/tfussell/xlnt
Fixes error LNK2019: unresolved external symbol
This fixes the error LNK2019: unresolved external symbol "__declspec(dllimport) public: that I had.pull/665/head
parent
fbae8cd6c1
commit
a6ff22e95b
|
@ -28,10 +28,14 @@
|
||||||
#ifdef XLNT_EXPORT
|
#ifdef XLNT_EXPORT
|
||||||
#define XLNT_API __declspec(dllexport)
|
#define XLNT_API __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
|
#ifdef XLNT_SHARED
|
||||||
// For clients of the library, supress warnings about DLL interfaces for standard library classes
|
// For clients of the library, supress warnings about DLL interfaces for standard library classes
|
||||||
#pragma warning(disable : 4251)
|
#pragma warning(disable : 4251)
|
||||||
#pragma warning(disable : 4275)
|
#pragma warning(disable : 4275)
|
||||||
#define XLNT_API __declspec(dllimport)
|
#define XLNT_API __declspec(dllimport)
|
||||||
|
#else
|
||||||
|
#define XLNT_API
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#define XLNT_API
|
#define XLNT_API
|
||||||
|
|
Loading…
Reference in New Issue