summaryrefslogtreecommitdiff
path: root/libavutil/file.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2022-04-14 23:14:27 +0200
committerMarton Balint <cus@passwd.hu>2022-04-22 21:58:47 +0200
commit58aa06bea01c7d5a4ed06c502838a31d518f6a6b (patch)
treeab71e70055a770ebe217854d3adc0f34a11451cc /libavutil/file.c
parentfbd22504c4148d2a01ccfe38df26c144f56db76b (diff)
avutil/cpu: #define _GNU_SOURCE before including any standard headers
Otherwise its effect might not work causing CPU_COUNT to not get defined. Fixes cpu count detection to actually use sched_getaffinity if available. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavutil/file.c')
0 files changed, 0 insertions, 0 deletions