commit | eb6cea27f23c0674cea47871f281aaffb8a8efc3 | [log] [tgz] |
---|---|---|
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | Sun Jan 01 04:06:56 2017 -0500 |
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | Sat Sep 16 03:54:11 2017 -0400 |
tree | 0bd55508257b469ea07c4050e73993124de15929 | |
parent | 9fa250d794cabc68fe53087de1b5b9797e515e18 [diff] |
Add #define to get printf-format specifiers. This is needed on older compilers/stdlibs such as on Ubuntu Precise which is used on Travis.
diff --git a/src/timestamp.h b/src/timestamp.h index 5565154..6a7ccd0 100644 --- a/src/timestamp.h +++ b/src/timestamp.h
@@ -18,6 +18,9 @@ #ifdef _WIN32 #include "win32port.h" #else +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif #include <inttypes.h> #endif