summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/s60main/qts60main.cpp1
-rw-r--r--src/s60main/qts60main_mcrt0.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/s60main/qts60main.cpp b/src/s60main/qts60main.cpp
index a919593..725b17c 100644
--- a/src/s60main/qts60main.cpp
+++ b/src/s60main/qts60main.cpp
@@ -40,6 +40,7 @@
****************************************************************************/
// INCLUDE FILES
+#include <exception> // must be before e32base.h so uncaught_exception gets defined
#include <e32base.h>
#include <qglobal.h>
diff --git a/src/s60main/qts60main_mcrt0.cpp b/src/s60main/qts60main_mcrt0.cpp
index 9439d2a..d30e07a 100644
--- a/src/s60main/qts60main_mcrt0.cpp
+++ b/src/s60main/qts60main_mcrt0.cpp
@@ -48,8 +48,8 @@
// EPOC32 version of crt0.c for C programs which always want multi-threaded support
#include <e32std.h>
+#include <exception> // must be before e32base.h so uncaught_exception gets defined
#include <e32base.h>
-#include <exception>
#include "estlib.h"
// Needed for QT_TRYCATCH_LEAVING.