From 008faa3d7fd62c9e8af00281a04ed76db1b41391 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 1 May 2020 00:55:13 +0200 Subject: zimg: remove C11 aligned_alloc() requirement It's not available on Windows because MinGW is fucking horrible and Microsoft are fucking assholes. --- wscript | 6 ------ 1 file changed, 6 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index eb68ab1f5d..2ef1c6b7da 100644 --- a/wscript +++ b/wscript @@ -223,11 +223,6 @@ main_dependencies = [ 'atomic_fetch_add(&test, 1)')), 'req': True, 'fmsg': 'C11 atomics are required; you may need a newer compiler', - }, { - # C11; technically we require C11, but aligned_alloc() is not in MinGW - 'name': 'aligned_alloc', - 'desc': 'C11 aligned_alloc()', - 'func': check_statement('stdlib.h', 'aligned_alloc(1, 1)'), }, { 'name': 'librt', 'desc': 'linking with -lrt', @@ -379,7 +374,6 @@ iconv support use --disable-iconv.", 'func': check_pkg_config('rubberband', '>= 1.8.0'), }, { 'name': '--zimg', - 'deps': 'aligned_alloc', 'desc': 'libzimg support (high quality software scaler)', 'func': check_pkg_config('zimg', '>= 2.9'), }, { -- cgit v1.2.3