From 90631bdab4b6ed9a05cea0ce37b0c7e117883ac1 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 13 Jun 2024 11:18:50 +0200 Subject: [PATCH v1 4/4] Windows replacement for strtok_r() They spell it "strtok_s" there. --- src/include/port/win32_port.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/include/port/win32_port.h b/src/include/port/win32_port.h index 3d1de166cb0..7ffe5891c69 100644 --- a/src/include/port/win32_port.h +++ b/src/include/port/win32_port.h @@ -415,6 +415,11 @@ extern int _pglstat64(const char *name, struct stat *buf); #undef ETIMEDOUT #define ETIMEDOUT WSAETIMEDOUT +/* + * Supplement to . + */ +#define strtok_r strtok_s + /* * Locale stuff. * -- 2.45.2