Skip to content

Commit

Permalink
Merge pull request #665 from Teebonne/patch-5
Browse files Browse the repository at this point in the history
Fixes error LNK2019: unresolved external symbol
  • Loading branch information
tfussell authored Dec 3, 2022
2 parents 3c948d8 + e55ac4f commit 80a6927
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/xlnt/xlnt_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80a6927

Please sign in to comment.