From 1118856c17cc4c1a7df2f88a2362c2bb02ebfdd4 Mon Sep 17 00:00:00 2001 From: Yuichiro NAITO Date: Mon, 25 Dec 2017 16:02:56 +0900 Subject: [PATCH] libhb: Define SYS_FREEBSD in libhb module. --- libhb/module.defs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libhb/module.defs b/libhb/module.defs index e36ec5fcb..d39f7d7b6 100644 --- a/libhb/module.defs +++ b/libhb/module.defs @@ -64,6 +64,8 @@ else ifeq ($(BUILD.system),darwin) LIBHB.m += $(wildcard $(LIBHB.src/)platform/macosx/*.m) else ifeq ($(BUILD.system),linux) LIBHB.GCC.D += SYS_LINUX _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64 +else ifeq ($(BUILD.system),freebsd) + LIBHB.GCC.D += SYS_FREEBSD _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64 else ifeq ($(BUILD.system),mingw) LIBHB.GCC.D += SYS_MINGW ifneq ($(HAS.pthread),1) @@ -76,13 +78,13 @@ else LIBHB.platform.D = SYS_UNKNOWN endif -ifeq (1,$(FEATURE.qsv)) +ifeq (1,$(FEATURE.qsv)) LIBHB.GCC.D += USE_QSV HAVE_THREADS=1 -endif +endif ifeq (1,$(FEATURE.x265)) LIBHB.GCC.D += USE_X265 -endif +endif ifeq (1,$(COMPAT.strtok_r)) LIBHB.GCC.D += HB_NEED_STRTOK_R -- 2.40.0