修正autorevision.sh文件换行符导致的执行问题

This commit is contained in:
Lu Qiuwen
2018-10-25 17:08:08 +08:00
parent 0cd191b9e6
commit 1563e1abba
2 changed files with 6 additions and 8 deletions

View File

@@ -49,9 +49,11 @@ struct tfe_proxy * g_default_proxy = NULL;
thread_local unsigned int __currect_thread_id = 0;
thread_local void * __currect_default_logger = NULL;
#define TFE_VAR_VERSION_CATTER(v) static __attribute__((__used__)) const char * TFE_VERSION_version_##v = NULL
#define TFE_VAR_VERSION_CATTER(v) __attribute__((__used__)) const char * TFE_VERSION_version_##v = NULL
#define TFE_VAR_VERSION_EXPEND(v) TFE_VAR_VERSION_CATTER(v)
extern "C"
{
/* VERSION TAG */
#ifdef TFE_VAR_VERSION
TFE_VAR_VERSION_EXPEND(TFE_VAR_VERSION);
@@ -60,6 +62,7 @@ static __attribute__((__used__)) const char * TFE_VERSION_version_UNKNOWN = NULL
#endif
#undef TFE_VAR_VERSION_CATTER
#undef TFE_VAR_VERSION_EXPEND
}
/* VERSION STRING */
#ifdef TFE_GIT_VERSION