aboutsummaryrefslogtreecommitdiffstats
path: root/extcap.c
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2020-11-24 08:53:28 -0500
committerAndersBroman <a.broman58@gmail.com>2020-11-25 06:25:38 +0000
commit15d315c2ae4788549acb0ad73ddcde981b7cb2ad (patch)
treee973dc5e362eac0fdb170753c6dfbd9236dd92fa /extcap.c
parent29991731263321a1f96a75eac6f72b34ecc9c48c (diff)
GLib: Bump requirement 2.32 -> 2.36
Diffstat (limited to 'extcap.c')
-rw-r--r--extcap.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/extcap.c b/extcap.c
index 59436f09e5..21c1b14b0c 100644
--- a/extcap.c
+++ b/extcap.c
@@ -461,13 +461,7 @@ extcap_run_all(const char *argv[], extcap_run_cb_t output_cb, gsize data_size, g
GSList *paths = extcap_get_extcap_paths();
int i = 0;
-#if GLIB_CHECK_VERSION(2,36,0)
int max_threads = (int)g_get_num_processors();
-#else
- // If the number of processors is unavailable, just use some sane maximum.
- // extcap should not be CPU bound, so -1 could also be used for unlimited.
- int max_threads = 8;
-#endif
if (!paths) {
*count = 0;