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/module.defs | |
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/module.defs')
-rw-r--r-- | libhb/module.defs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/module.defs b/libhb/module.defs index 11b8a22c6..79222a2fa 100644 --- a/libhb/module.defs +++ b/libhb/module.defs @@ -72,6 +72,10 @@ ifeq (1,$(FEATURE.x265)) LIBHB.GCC.D += USE_X265 endif +ifeq (1,$(COMPAT.strtok_r)) + LIBHB.GCC.D += HB_NEED_STRTOK_R +endif + ## required for <libdvdread/*.h> ifneq (,$(filter $(BUILD.arch),ppc ppc64)) LIBHB.GCC.D += WORDS_BIGENDIAN |