summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-07-13 10:55:12 +0000
committerRodeo <[email protected]>2013-07-13 10:55:12 +0000
commitc4a87e9ce22fff4a3f47cfd3d3b89278f63beb83 (patch)
treefc81d5437b9c5b21de23d73a62e6e619d17d2972 /libhb
parent63f5fcbab763c3f77680560facd83d65960b6ed9 (diff)
Solaris: add proper POSIX defines
On Solaris, some POSIX functions are hidden behind a define. This patch adds the proper defines to the compiler command line when building for Solaris. Patch by icchan. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5642 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/module.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/module.defs b/libhb/module.defs
index 49df1b28f..afaf6ffd1 100644
--- a/libhb/module.defs
+++ b/libhb/module.defs
@@ -69,7 +69,7 @@ else ifeq ($(BUILD.system),mingw)
LIBHB.GCC.D += SYS_MINGW PTW32_STATIC_LIB
LIBHB.GCC.args.extra.dylib++ += -Wl,--enable-auto-import -static
else ifeq ($(BUILD.system),solaris)
- LIBHB.GCC.D += SYS_SunOS _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64
+ LIBHB.GCC.D += SYS_SunOS _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64 _POSIX_C_SOURCE=200112L __EXTENSIONS__
else
LIBHB.platform.D = SYS_UNKNOWN
endif