diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-11-28 18:29:18 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-11-28 18:29:18 +0300 |
commit | 855efb94214cc519805de89934d82bc5e0f92685 (patch) | |
tree | d8f5f741d46dbcb800bd2026bd8fd8f0d72a25e6 /libpq/libpq/strlcpy.c | |
parent | 646a9f3410dab150e0c7871273d4982fa5c132e9 (diff) |
Add psql package.
Don't compile port/strlcpy.c on Linux if GNU libc is 2.38 or newer.
Switch to using -pthread instead of -D_REENTRANT/-lpthread in buildfiles and bump build2 version requirement to 0.15.0.
Diffstat (limited to 'libpq/libpq/strlcpy.c')
-rw-r--r-- | libpq/libpq/strlcpy.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libpq/libpq/strlcpy.c b/libpq/libpq/strlcpy.c new file mode 100644 index 0000000..2dd9f29 --- /dev/null +++ b/libpq/libpq/strlcpy.c @@ -0,0 +1,6 @@ +/* file : libpq/strlcpy.c -*- C -*- + * license : PostgreSQL License; see accompanying COPYRIGHT file + */ +#if !HAVE_DECL_STRLCPY +# include <port/strlcpy.c> +#endif |