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 2670f57 commit 9ce39dd
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 @@ -924,11 +924,6 @@ static inline char *strcasestr(const char *haystack, const char *needle)
return pos;
}

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 9ce39dd

Please sign in to comment.