Skip to content

Commit

Permalink
include/windows/osd.h: remove duplicate strtok_r definition
Browse files Browse the repository at this point in the history
The duplicate definition was causing hangs due to a loop

Cherry-picked from commit 6f24583

Signed-off-by: Alexia Ingerson <[email protected]>
  • Loading branch information
aingerson authored and j-xiong committed Dec 4, 2024
1 parent a267e46 commit ae80f74
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/windows/osd.h
Original file line number Diff line number Diff line change
Expand Up @@ -871,11 +871,6 @@ static inline char * strndup(char const *src, size_t n)

char *strcasestr(const char *haystack, const char *needle);

static inline char *strtok_r(char *str, const char *delimiters, char **saveptr)
{
return strtok_s(str, delimiters, saveptr);
}

#ifndef _SC_PAGESIZE
#define _SC_PAGESIZE 0
#endif
Expand Down

0 comments on commit ae80f74

Please sign in to comment.