diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-02 00:15:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-02 00:15:54 +0300 |
commit | b16adb7bcf4817c7fa42f19be2d7b028109b3672 (patch) | |
tree | 84c108e5ff1a6d3d7c809674cf7fa724fe80edaa /src/gui | |
parent | 5595c2a4e5dd0981c47271783f1a492dd20b824e (diff) | |
download | manaverse-b16adb7bcf4817c7fa42f19be2d7b028109b3672.tar.gz manaverse-b16adb7bcf4817c7fa42f19be2d7b028109b3672.tar.bz2 manaverse-b16adb7bcf4817c7fa42f19be2d7b028109b3672.tar.xz manaverse-b16adb7bcf4817c7fa42f19be2d7b028109b3672.zip |
Fix compilation for old compilers.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/mailviewwindow.cpp | 6 |
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; |