diff options
author | Rodeo <[email protected]> | 2015-04-10 14:56:27 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2015-04-10 14:56:27 +0000 |
commit | 864ce5a4227d81f688f32e808245b2600f431ac3 (patch) | |
tree | 80fe0b03201bac220a3d2c291129381752b888db /libhb/ports.h | |
parent | f360714523e5f1f78ced2ae8691f3087b80eef65 (diff) |
Move strtok_r fallback to dedicated "compat" files.
Also, check whether the toolchain already provides strtok_r instead of building it unconditionally.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7076 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/ports.h')
-rw-r--r-- | libhb/ports.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libhb/ports.h b/libhb/ports.h index 7dde23028..649d3995f 100644 --- a/libhb/ports.h +++ b/libhb/ports.h @@ -57,17 +57,6 @@ void hb_snooze( int delay ); int hb_platform_init(); #ifdef SYS_MINGW -/* - * Some MinGW distributions #define strtok_r in pthread.h, - * but their so-called "implementation" isn't thread-safe. - */ -#ifdef strtok_r -#undef strtok_r -#endif -char *strtok_r(char *s, const char *delim, char **save_ptr); -#endif - -#ifdef SYS_MINGW typedef struct { _WDIR *wdir; |