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 <alexia.ingerson@intel.com>
  • Loading branch information
aingerson authored and j-xiong committed Dec 4, 2024
1 parent 9395499 commit 0aca042
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 @@ -898,11 +898,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 0aca042

Please sign in to comment.