mirror of
https://github.com/postgres/postgres.git
synced 2025-05-30 00:02:11 -04:00
Windows replacement for strtok_r()
They spell it "strtok_s" there. 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
This commit is contained in:
parent
8b2e9fd26a
commit
4d130b2872
@ -415,6 +415,11 @@ extern int _pglstat64(const char *name, struct stat *buf);
|
||||
#undef ETIMEDOUT
|
||||
#define ETIMEDOUT WSAETIMEDOUT
|
||||
|
||||
/*
|
||||
* Supplement to <string.h>.
|
||||
*/
|
||||
#define strtok_r strtok_s
|
||||
|
||||
/*
|
||||
* Locale stuff.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user