summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorPeter Eisentraut2024-07-22 07:47:02 +0000
committerPeter Eisentraut2024-07-22 07:50:30 +0000
commit683be87fbba02b086cc05789fcbdc289120d1065 (patch)
tree133232fa0bcc04234ff667cbe54166cb6e57fb85 /meson.build
parent7e187a7386cc922c8f770c0460bfc43f4806bd15 (diff)
Add port/ replacement for strsep()
from OpenBSD, similar to strlcat, strlcpy There are currently no uses, but some will be added soon. Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Reviewed-by: David Steele <david@pgmasters.net> Discussion: https://www.postgresql.org/message-id/flat/79692bf9-17d3-41e6-b9c9-fc8c3944222a@eisentraut.org
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 589bee75fc8..efde3a28cc9 100644
--- a/meson.build
+++ b/meson.build
@@ -2417,6 +2417,7 @@ decl_checks = [
['strlcat', 'string.h'],
['strlcpy', 'string.h'],
['strnlen', 'string.h'],
+ ['strsep', 'string.h'],
]
# Need to check for function declarations for these functions, because
@@ -2685,6 +2686,7 @@ func_checks = [
['strlcat'],
['strlcpy'],
['strnlen'],
+ ['strsep'],
['strsignal'],
['sync_file_range'],
['syncfs'],