summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-02 00:15:54 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-02 00:15:54 +0300
commitb16adb7bcf4817c7fa42f19be2d7b028109b3672 (patch)
tree84c108e5ff1a6d3d7c809674cf7fa724fe80edaa /src/gui
parent5595c2a4e5dd0981c47271783f1a492dd20b824e (diff)
downloadmv-b16adb7bcf4817c7fa42f19be2d7b028109b3672.tar.gz
mv-b16adb7bcf4817c7fa42f19be2d7b028109b3672.tar.bz2
mv-b16adb7bcf4817c7fa42f19be2d7b028109b3672.tar.xz
mv-b16adb7bcf4817c7fa42f19be2d7b028109b3672.zip
Fix compilation for old compilers.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/mailviewwindow.cpp6
1 files changed, 6 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
*/
+#define __STDC_FORMAT_MACROS
+
#include "gui/windows/mailviewwindow.h"
#include "settings.h"
@@ -47,6 +49,10 @@
#include <inttypes.h>
#endif // PRId64
+#ifndef PRId64
+#error int types not loaded
+#endif // PRId64
+
#include "debug.h"
MailViewWindow *mailViewWindow = nullptr;