Skip to content

Commit

Permalink
Provide strtok_r on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
samr7 committed Aug 17, 2012
1 parent 17f97ce commit 2f6353b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions winglue.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,9 @@ extern int count_processors(void);

#define PRSIZET "I"

static inline char *
strtok_r(char *strToken, const char *strDelimit, char **context) {
return strtok_s(strToken, strDelimit, context);
}

#endif /* !defined (__VG_WINGLUE_H__) */

0 comments on commit 2f6353b

Please sign in to comment.