summaryrefslogtreecommitdiff
path: root/ILAsmVersion.txt
diff options
context:
space:
mode:
authorOmair Majid <omajid@redhat.com>2019-10-16 05:25:29 -0400
committerAlexander Soldatov <soldatov.a@samsung.com>2019-12-11 10:55:14 +0300
commit724634df08bc4159dd2bd60bc140bcc39d62d7d2 (patch)
tree378d980ebdc8bc67ea01c7f2c5f24d481eafc04e /ILAsmVersion.txt
parent762d3bd09db51d983c77388657493e679637e940 (diff)
downloadcoreclr-724634df08bc4159dd2bd60bc140bcc39d62d7d2.tar.gz
coreclr-724634df08bc4159dd2bd60bc140bcc39d62d7d2.tar.bz2
coreclr-724634df08bc4159dd2bd60bc140bcc39d62d7d2.zip
Handle glibc sys/sysctl.h deprecation (#27048)submit/tizen/20191211.075640accepted/tizen/unified/20191211.121058
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 'ILAsmVersion.txt')
0 files changed, 0 insertions, 0 deletions