From 25409b16fd593f45168e839fe21ed0f642908e11 Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 15 Feb 2018 19:12:49 +0800 Subject: fixme: depends: Add D_DARWIN_C_SOURCE to miniupnpc CFLAGS --- depends/packages/miniupnpc.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'depends') diff --git a/depends/packages/miniupnpc.mk b/depends/packages/miniupnpc.mk index 81517965dd..9976db43c2 100644 --- a/depends/packages/miniupnpc.mk +++ b/depends/packages/miniupnpc.mk @@ -9,6 +9,7 @@ $(package)_build_opts=CC="$($(package)_cc)" $(package)_build_opts_darwin=OS=Darwin LIBTOOL="$($(package)_libtool)" $(package)_build_opts_mingw32=-f Makefile.mingw $(package)_build_env+=CFLAGS="$($(package)_cflags) $($(package)_cppflags)" AR="$($(package)_ar)" +$(package)_build_env+=CFLAGS=-D_DARWIN_C_SOURCE endef define $(package)_preprocess_cmds -- cgit v1.2.3