Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4d130b2

Browse files
committed
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
1 parent8b2e9fd commit4d130b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎src/include/port/win32_port.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,11 @@ extern int_pglstat64(const char *name, struct stat *buf);
415415
#undef ETIMEDOUT
416416
#defineETIMEDOUT WSAETIMEDOUT
417417

418+
/*
419+
* Supplement to <string.h>.
420+
*/
421+
#definestrtok_r strtok_s
422+
418423
/*
419424
* Locale stuff.
420425
*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp