mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03: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:
@@ -415,6 +415,11 @@ extern int _pglstat64(const char *name, struct stat *buf);
|
|||||||
#undef ETIMEDOUT
|
#undef ETIMEDOUT
|
||||||
#define ETIMEDOUT WSAETIMEDOUT
|
#define ETIMEDOUT WSAETIMEDOUT
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Supplement to <string.h>.
|
||||||
|
*/
|
||||||
|
#define strtok_r strtok_s
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Locale stuff.
|
* Locale stuff.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user