Minor fixes.

GitOrigin-RevId: beff71eb64dee126727d8be2a18b09ee99d4fe40
This commit is contained in:
levlam 2018-02-28 04:22:17 +03:00
parent 83d845ad32
commit a741fe7925
2 changed files with 4 additions and 2 deletions

View File

@ -97,7 +97,8 @@ if (NOT CMAKE_CROSSCOMPILING)
target_link_libraries(generate_common PRIVATE tdtl)
add_custom_target(tl_generate_common
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMAND ${GENERATE_COMMON_CMD} COMMENT "Generate common tl source files"
COMMAND ${GENERATE_COMMON_CMD}
COMMENT "Generate common tl source files"
DEPENDS generate_common scheme/mtproto_api.tlo scheme/telegram_api.tlo scheme/secret_api.tlo ${TL_TD_API_TLO}
)
if (TD_ENABLE_JNI)

View File

@ -6,8 +6,9 @@
//
#pragma once
#include "td/utils/common.h"
#include "td/utils/port/config.h"
#include "td/utils/common.h"
#undef small
#if TD_WINRT