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

* printf.h fixed to compile clean - need to check whether this is the right
thing to do

* 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
This commit is contained in:
Andreas Schönle
2017-05-05 14:58:09 +02:00
committed by Jonathan Müller
parent 52aabbe7ef
commit 79f11dbaa7
7 changed files with 32 additions and 27 deletions

View File

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