improve detection and portability of pal_networkstatistics.c (dotnet/corefx#33517)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Sun, 18 Nov 2018 02:08:20 +0000 (18:08 -0800)
committerGitHub <noreply@github.com>
Sun, 18 Nov 2018 02:08:20 +0000 (18:08 -0800)
commite392935a23c79ec1fe6e79806fc3d5ce19ea888b
treeabd433153633b9272bde9bd49ffc2f0a3366ee1f
parent78684a0aee496e2e3d529a75773504e6decff44b
improve detection and portability of pal_networkstatistics.c (dotnet/corefx#33517)

* improve detection and portability of pal_networkstatistics.c

* use __typeof() to determine int size for iucmp stats

Commit migrated from https://github.com/dotnet/corefx/commit/3c340bf87f02af484715053e4c349b7074410ebc
src/libraries/Native/Unix/Common/pal_config.h.in
src/libraries/Native/Unix/System.Native/pal_networkstatistics.c
src/libraries/Native/Unix/configure.cmake