Allow compiling and using as DLL in windows (#502)

* fix warnings and errors in test compiles with BUILD_SHARED_LIBS

* did requested changes and added one change to allow all tests to succeed
in windows DLL

(cherry picked from commit 79f11dbaa7)
This commit is contained in:
Andreas Schönle
2017-06-09 12:42:32 +02:00
committed by Jonathan Müller
parent c75f6dcd30
commit 5bce2c0cef
4 changed files with 21 additions and 16 deletions
+1
View File
@@ -26,6 +26,7 @@
*/
#define FMT_NOEXCEPT
#undef FMT_SHARED
#include "test-assert.h"
// Include format.cc instead of format.h to test implementation-specific stuff.