From c4a87e9ce22fff4a3f47cfd3d3b89278f63beb83 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Sat, 13 Jul 2013 10:55:12 +0000 Subject: 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 --- test/module.defs | 1 + 1 file changed, 1 insertion(+) (limited to 'test/module.defs') diff --git a/test/module.defs b/test/module.defs index 590c49ea2..66e95f2de 100644 --- a/test/module.defs +++ b/test/module.defs @@ -56,6 +56,7 @@ else ifeq ($(BUILD.system),linux) TEST.GCC.l += pthread dl m else ifeq ($(BUILD.system),solaris) TEST.GCC.l += pthread nsl socket iconv + TEST.GCC.D += _POSIX_C_SOURCE=200112L __EXTENSIONS__ else ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system)) ifeq ($(HAS.dlfcn),1) TEST.GCC.l += dl -- cgit v1.2.3