diff options
-rw-r--r-- | libhb/module.defs | 2 | ||||
-rw-r--r-- | test/module.defs | 1 |
2 files changed, 2 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 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 |