[x265] [PATCH 5 of 7] threadpool.cpp: fix linux error: #elif with no expression

praveen at multicorewareinc.com praveen at multicorewareinc.com
Fri May 20 13:01:58 CEST 2016


# HG changeset patch
# User Praveen Tiwari <praveen at multicorewareinc.com>
# Date 1463738737 -19800
#      Fri May 20 15:35:37 2016 +0530
# Node ID e96bb0aaec630d44ea318222ae221fe116f4f11a
# Parent  598afbba907e06563ac08c0058abdbd7ba50d5d8
threadpool.cpp: fix linux error: #elif with no expression

diff -r 598afbba907e -r e96bb0aaec63 source/common/threadpool.cpp
--- a/source/common/threadpool.cpp	Fri May 20 15:35:37 2016 +0530
+++ b/source/common/threadpool.cpp	Fri May 20 15:35:37 2016 +0530
@@ -279,7 +279,7 @@
         if (bNumaSupport >= 0)
             cpusPerNode[X265_MIN(numa_node_of_cpu(i), MAX_NODE_NUM)]++;
     }
-#elif
+#else // NUMA not supported
     cpusPerNode[0] = getCpuCount();
 #endif
 


More information about the x265-devel mailing list