This commit is contained in:
John Preston 2014-10-22 23:45:38 +04:00
commit 4991b6743f
2 changed files with 7 additions and 1 deletions

View File

@ -18,6 +18,8 @@ Copyright (c) 2014 John Preston, https://tdesktop.com
#include "stdafx.h"
#include "mtpCoreTypes.h"
#if defined _DEBUG || defined _WITH_DEBUG
QString mtpWrapNumber(float64 number) {
return QString::number(number);
}
@ -180,3 +182,5 @@ void mtpTextSerializeCore(MTPStringLogger &to, const mtpPrime *&from, const mtpP
} break;
}
}
#endif

View File

@ -10,7 +10,7 @@ CONFIG(debug, debug|release) {
DESTDIR = ./../Debug
}
CONFIG(release, debug|release) {
DEFINES += CUSTOM_API_ID
DEFINES += _WITH_DEBUG CUSTOM_API_ID
OBJECTS_DIR = ./../ReleaseIntermediate
MOC_DIR = ./GenFiles/Release
RCC_DIR = ./GenFiles
@ -104,9 +104,11 @@ SOURCES += \
./SourceFiles/window.cpp \
./SourceFiles/mtproto/mtp.cpp \
./SourceFiles/mtproto/mtpConnection.cpp \
./SourceFiles/mtproto/mtpCoreTypes.cpp \
./SourceFiles/mtproto/mtpDC.cpp \
./SourceFiles/mtproto/mtpFileLoader.cpp \
./SourceFiles/mtproto/mtpRPC.cpp \
./SourceFiles/mtproto/mtpScheme.cpp \
./SourceFiles/mtproto/mtpSession.cpp \
./SourceFiles/gui/animation.cpp \
./SourceFiles/gui/boxshadow.cpp \