diff options
author | vvvv <vvvv@yandex-team.ru> | 2022-03-03 15:57:03 +0300 |
---|---|---|
committer | vvvv <vvvv@yandex-team.ru> | 2022-03-03 15:57:03 +0300 |
commit | df3958efa5ab2ab36ccc89bb8ddad77970c23beb (patch) | |
tree | eafbc5f55a91a3e9c266ae02151dae58e49f2d6f | |
parent | 6256a2d456e75311f5bb1f044ed4b4f5b6c421e2 (diff) | |
download | ydb-df3958efa5ab2ab36ccc89bb8ddad77970c23beb.tar.gz |
YQL-13710 musl fix
ref:5a02d9224aefe6b2a4ac2631e48998128bd31609
-rw-r--r-- | ydb/library/yql/parser/pg_query_wrapper/copy_src.py | 3 | ||||
-rw-r--r-- | ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/pg_config-linux.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ydb/library/yql/parser/pg_query_wrapper/copy_src.py b/ydb/library/yql/parser/pg_query_wrapper/copy_src.py index e31d799fc1..b7cf516134 100644 --- a/ydb/library/yql/parser/pg_query_wrapper/copy_src.py +++ b/ydb/library/yql/parser/pg_query_wrapper/copy_src.py @@ -39,6 +39,9 @@ def fix_line(line, all_lines, pos): if line.startswith("#define yylval"): define_for_yylval=line[14:].strip() + if line.startswith("#define HAVE_EXECINFO_H 1"): + return "#undef HAVE_EXECINFO_H\n" + if "static YYSTYPE yyval_default" in line or \ "static YYLTYPE yyloc_default" in line: return line.replace("static","static __thread") diff --git a/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/pg_config-linux.h b/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/pg_config-linux.h index 30c8422e97..13693486f2 100644 --- a/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/pg_config-linux.h +++ b/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/pg_config-linux.h @@ -181,7 +181,7 @@ /* #undef HAVE_EDITLINE_READLINE_H */ /* Define to 1 if you have the <execinfo.h> header file. */ -#define HAVE_EXECINFO_H 1 +#undef HAVE_EXECINFO_H /* Define to 1 if you have the `explicit_bzero' function. */ #define HAVE_EXPLICIT_BZERO 1 |