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 ],