Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Oct 22, 2014
2 parents 12ff311 + 38f606b commit 4991b67
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Telegram/SourceFiles/mtproto/mtpCoreTypes.cpp
Original file line number Diff line number Diff line change
@@ -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
4 changes: 3 additions & 1 deletion Telegram/Telegram.pro
Original file line number Diff line number Diff line change
@@ -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 \

0 comments on commit 4991b67

Please sign in to comment.