From b16adb7bcf4817c7fa42f19be2d7b028109b3672 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 2 Sep 2017 00:15:54 +0300 Subject: Fix compilation for old compilers. --- src/gui/windows/mailviewwindow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/gui/windows/mailviewwindow.cpp b/src/gui/windows/mailviewwindow.cpp index e87284536..5f5f6fe15 100644 --- a/src/gui/windows/mailviewwindow.cpp +++ b/src/gui/windows/mailviewwindow.cpp @@ -18,6 +18,8 @@ * along with this program. If not, see . */ +#define __STDC_FORMAT_MACROS + #include "gui/windows/mailviewwindow.h" #include "settings.h" @@ -47,6 +49,10 @@ #include #endif // PRId64 +#ifndef PRId64 +#error int types not loaded +#endif // PRId64 + #include "debug.h" MailViewWindow *mailViewWindow = nullptr; -- cgit v1.2.3-70-g09d2