diff options
author | Rokas Kupstys <rokups@zoho.com> | 2019-08-04 12:00:38 +0300 |
---|---|---|
committer | Rokas Kupstys <rokups@zoho.com> | 2019-08-04 15:49:46 +0300 |
commit | b391e4c21a98e7c0642daaa7a76a7f2d24c78e1b (patch) | |
tree | e281e292737c236f49140039db3f6c0ffae24090 /server/TracyPrint.cpp | |
parent | eed70398531cc4bbc9c956dbce36d0bd1541ee37 (diff) |
Fix multiple build errors when compiling with MinGW.
Diffstat (limited to 'server/TracyPrint.cpp')
-rw-r--r-- | server/TracyPrint.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/TracyPrint.cpp b/server/TracyPrint.cpp index e3e17aa7..229ca194 100644 --- a/server/TracyPrint.cpp +++ b/server/TracyPrint.cpp @@ -1,12 +1,16 @@ #ifdef _MSC_VER # pragma warning( disable: 4244 ) // conversion from don't care to whatever, possible loss of data #endif +#ifdef __MINGW32__ +# define __STDC_FORMAT_MACROS +#endif #include <assert.h> #include <inttypes.h> #include <math.h> #include <stdint.h> #include <stdio.h> +#include <stdlib.h> // llabs() #include <string.h> #include "TracyPrint.hpp" |