Allow compiling and using as DLL in windows #502

This commit is contained in:
Victor Zverovich
2018-01-28 20:50:43 -08:00
parent c753a2af39
commit 08dff3774c
4 changed files with 21 additions and 16 deletions

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.

View File

@@ -7,6 +7,10 @@
For the license information refer to format.h.
*/
#ifdef WIN32
#define _CRT_SECURE_NO_WARNINGS
#endif
#include "gmock/gmock.h"
#include "fmt/time.h"