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

Signed-off-by: Alexia Ingerson <[email protected]>
  • Loading branch information
aingerson committed Dec 3, 2024
1 parent 6a03119 commit 6f24583
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 @@ -930,11 +930,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 6f24583

Please sign in to comment.