From 3053a68d2dffe79106e9515f5978de3e184f2594 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 30 May 2014 13:30:56 +0200 Subject: tv: remove sysinfo() usage This call was used limited the buffer size if installed RAM was below 16 MB. This stopped being useful a decade ago. The check could also overflow on 32 bit systems. Just get rid of it. --- wscript | 5 ----- 1 file changed, 5 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index faa45aa26e..36f3206e18 100644 --- a/wscript +++ b/wscript @@ -208,11 +208,6 @@ iconv support use --disable-iconv.", 'deps': [ 'os-linux' ], 'func': check_statement('sys/vfs.h', 'struct statfs fs; fstatfs(0, &fs); fs.f_namelen') - }, { - 'name': 'sys-sysinfo-h', - 'desc': 'sys/sysinfo.h', - 'func': check_statement('sys/sysinfo.h', - 'struct sysinfo s_info; s_info.mem_unit=0; sysinfo(&s_info)') }, { 'name': '--libguess', 'desc': 'libguess support', -- cgit v1.2.3