summaryrefslogtreecommitdiffstats
path: root/libhb/module.defs
diff options
context:
space:
mode:
authorSean McGovern <[email protected]>2016-07-10 16:00:16 -0400
committerSean McGovern <[email protected]>2016-07-10 16:24:32 -0400
commite44e48382e1a97815f005e3efd6c36c06c773c40 (patch)
treea5854c9fa3a1a3c867783c42db8bc1acc813635a /libhb/module.defs
parent0fc54d0b67c84c6ef571752de1b4a7f482e40792 (diff)
configure: check for strerror_r()
Diffstat (limited to 'libhb/module.defs')
-rw-r--r--libhb/module.defs4
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/module.defs b/libhb/module.defs
index 6ca0d2fbc..ca80e56fa 100644
--- a/libhb/module.defs
+++ b/libhb/module.defs
@@ -82,6 +82,10 @@ ifeq (1,$(COMPAT.strtok_r))
LIBHB.GCC.D += HB_NEED_STRTOK_R
endif
+ifeq (1,$(HAS.strerror_r))
+ LIBHB.GCC.D += HAS_STRERROR_R
+endif
+
## required for <libdvdread/*.h>
ifneq (,$(filter $(BUILD.arch),ppc ppc64))
LIBHB.GCC.D += WORDS_BIGENDIAN