Fix Symbian debug build.

This commit is contained in:
Sacha committed 2014-06-05 18:15:24 +10:00
1 parent aa3a429a0b
commit d50f08fb6e
2 files changed
+6

No files matched your search

+4
View File
@@ -124,12 +124,16 @@ void GenericLog(LOGTYPES_LEVELS level, LOGTYPES_TYPE type,
__LINE__, __FILE__, __TIME__); \
if (!PanicYesNo("*** Assertion (see log)***\n")) {Crash();} \
}
#ifdef __SYMBIAN32__
#define _dbg_assert_msg_(_t_, _a_, ...) if (!(_a_)) ERROR_LOG(_t_, __VA_ARGS__);
#else
#define _dbg_assert_msg_(_t_, _a_, ...)\
if (!(_a_)) {\
printf(__VA_ARGS__); \
ERROR_LOG(_t_, __VA_ARGS__); \
if (!PanicYesNo(__VA_ARGS__)) {Crash();} \
}
#endif
#define _dbg_update_() ; //Host_UpdateLogDisplay();
#else // not debug
+2
View File
@@ -4,6 +4,8 @@ TARGET = PPSSPPQt
QT += core gui opengl
include(Settings.pri)
symbian:MMP_RULES += "DEBUGGABLE"
lessThan(QT_MAJOR_VERSION, 5) {
lessThan(QT_MAJOR_VERSION, 4) | lessThan(QT_MINOR_VERSION, 7) {
error(PPSSPP requires Qt 4.7 or newer but Qt $$[QT_VERSION] was detected.)