summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/port/win32_port.h5
1 files changed, 5 insertions, 0 deletions
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
@@ -416,6 +416,11 @@ extern int _pglstat64(const char *name, struct stat *buf);
#define ETIMEDOUT WSAETIMEDOUT
/*
+ * Supplement to <string.h>.
+ */
+#define strtok_r strtok_s
+
+/*
* Locale stuff.
*
* Extended locale functions with gratuitous underscore prefixes.