summaryrefslogtreecommitdiff
path: root/build-packages.cmd
diff options
context:
space:
mode:
authorOmair Majid <omajid@redhat.com>2019-10-16 09:25:29 (GMT)
committerAlexander Soldatov <soldatov.a@samsung.com>2019-12-11 07:55:14 (GMT)
commit724634df08bc4159dd2bd60bc140bcc39d62d7d2 (patch)
tree378d980ebdc8bc67ea01c7f2c5f24d481eafc04e /build-packages.cmd
parent762d3bd09db51d983c77388657493e679637e940 (diff)
downloadcoreclr-tizen.zip
coreclr-tizen.tar.gz
coreclr-tizen.tar.bz2
glibc has deprecated sys/sysctl.h: In file included from /coreclr/src/pal/src/misc/sysinfo.cpp:32: /usr/include/sys/sysctl.h:21:2: error: "The <sys/sysctl.h> header is deprecated and will be removed." [-Werror,-W#warnings] #warning "The <sys/sysctl.h> header is deprecated and will be removed." ^ 1 error generated. Fix that by preferring sysconf and only including sys/sysctl.h if HAVE_SYSCONF is not true. This mirrors the order of the implementation code in this file (sysinfo.cpp) which checks for HAVE_SYSCONF before HAVE_SYSCTL. Fixes #27008
Diffstat (limited to 'build-packages.cmd')
0 files changed, 0 insertions, 0 deletions