diff options
author | vvvv <vvvv@yandex-team.ru> | 2022-03-03 21:36:07 +0300 |
---|---|---|
committer | vvvv <vvvv@yandex-team.ru> | 2022-03-03 21:36:07 +0300 |
commit | ed3f4e21f3a3837059607ec2606e1dc910269ac0 (patch) | |
tree | 12153a847be9118108a453826d1d5b38b5a13b85 | |
parent | d78b6874885839028e196a3e1a9d279b838675f6 (diff) | |
download | ydb-ed3f4e21f3a3837059607ec2606e1dc910269ac0.tar.gz |
YQL-13710 windows fix
ref:b07d79b45785701509c278c5b5f2bb60bc5c1d1b
3 files changed, 3 insertions, 3 deletions
diff --git a/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/pg_config-win.h b/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/pg_config-win.h index bbace3fbc2..c1519740be 100644 --- a/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/pg_config-win.h +++ b/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/pg_config-win.h @@ -12,7 +12,7 @@ #undef HAVE_TERMIOS_H /* Define to 1 if you have the `inet_aton' function. */ -#undef HAVE_INET_ATON +#define HAVE_INET_ATON 1 /* Define to 1 if you have the <sys/select.h> header file. */ #undef HAVE_SYS_SELECT_H diff --git a/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/port.h b/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/port.h index 82f63de325..5e070aa555 100644 --- a/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/port.h +++ b/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/port.h @@ -14,8 +14,10 @@ #define PG_PORT_H #include <ctype.h> +#if !defined(WIN32) #include <netdb.h> #include <pwd.h> +#endif /* * Windows has enough specialized port stuff that we push most of it off diff --git a/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/port/win32_port.h b/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/port/win32_port.h index 05c5a53442..ca7628f587 100644 --- a/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/port/win32_port.h +++ b/ydb/library/yql/parser/pg_query_wrapper/postgresql/src/include/port/win32_port.h @@ -53,8 +53,6 @@ #undef near /* needed before sys/stat hacking below: */ -#define fstat microsoft_native_fstat -#define stat microsoft_native_stat #include <sys/stat.h> #undef fstat #undef stat |