summaryrefslogtreecommitdiffstats
path: root/libhb/module.defs
diff options
context:
space:
mode:
authorYuichiro NAITO <[email protected]>2017-12-25 16:02:56 +0900
committerBradley Sepos <[email protected]>2018-01-13 00:03:38 -0500
commit1118856c17cc4c1a7df2f88a2362c2bb02ebfdd4 (patch)
treec83ebfb11ebae8b1eaa2576c4231e2bb91510b9d /libhb/module.defs
parent20a7c436cb6991282bc35b6982148505293720dd (diff)
libhb: Define SYS_FREEBSD in libhb module.
Diffstat (limited to 'libhb/module.defs')
-rw-r--r--libhb/module.defs8
1 files 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