From 839b49ac05c3285434d8487b48d8b52323187e44 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Sun, 21 Feb 2021 21:49:14 -0800 Subject: [PATCH] xquartz: Don't include strndup.c any more since we no longer support 10.8 and older Signed-off-by: Jeremy Huddleston Sequoia --- hw/xquartz/mach-startup/Makefile.am | 7 ------- hw/xquartz/mach-startup/meson.build | 4 ---- 2 files changed, 11 deletions(-) diff --git a/hw/xquartz/mach-startup/Makefile.am b/hw/xquartz/mach-startup/Makefile.am index 62f85f16a..e250b2869 100644 --- a/hw/xquartz/mach-startup/Makefile.am +++ b/hw/xquartz/mach-startup/Makefile.am @@ -15,13 +15,6 @@ dist_X11_bin_SOURCES = \ dist_X11_SOURCES = \ bundle_trampoline.c -# strndup(3) was added in Mac OS X 10.7, but we do this unconditionally to deal -# with the case where we build on Lion but target Snow Leopard as the minimum -# OS version. -#if NEED_STRNDUP -dist_X11_bin_SOURCES += $(top_srcdir)/os/strndup.c -#endif - nodist_X11_bin_SOURCES = \ mach_startupServer.c \ mach_startupUser.c diff --git a/hw/xquartz/mach-startup/meson.build b/hw/xquartz/mach-startup/meson.build index 1d5318441..a1c782b1f 100644 --- a/hw/xquartz/mach-startup/meson.build +++ b/hw/xquartz/mach-startup/meson.build @@ -58,10 +58,6 @@ endif x11_bin = executable('X11.bin', [ 'bundle-main.c', - # strndup(3) was added in Mac OS X 10.7 (Lion), but we do this - # unconditionally to deal with the case where we build on 10.7 or later, - # but target 10.6 (Snow Leopard) or earlier as the minimum OS version. - '../../../os/strndup.c', mach_startup[1], # mach_startupServer.c mach_startup[3], # mach_startupUser.c ],