From 5b541afd454c9ac054bd4575c07ffe140b23e3c5 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sun, 26 Apr 2015 04:07:31 +0100 Subject: [PATCH] Un-hardcode library name. --- Claunia.IO/ChangeLog | 5 +++++ Claunia.IO/Interop/Linux/Interop.Linux.uname.cs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Claunia.IO/ChangeLog b/Claunia.IO/ChangeLog index 5be385a..5fd928d 100644 --- a/Claunia.IO/ChangeLog +++ b/Claunia.IO/ChangeLog @@ -1,3 +1,8 @@ +2015-04-26 Natalia Portillo + + * Interop/Linux/Interop.Linux.uname.cs: + Un-hardcode library name. + 2015-04-26 Natalia Portillo * Interop/Apple/Interop.Apple.xattr.cs: diff --git a/Claunia.IO/Interop/Linux/Interop.Linux.uname.cs b/Claunia.IO/Interop/Linux/Interop.Linux.uname.cs index 47a8717..1d31158 100644 --- a/Claunia.IO/Interop/Linux/Interop.Linux.uname.cs +++ b/Claunia.IO/Interop/Linux/Interop.Linux.uname.cs @@ -73,7 +73,7 @@ internal static partial class Interop /// /// . /// On success, 0. On failure, -1, and errno is set. - [DllImport("libc", SetLastError = true)] + [DllImport(Libraries.Libc, SetLastError = true)] internal static extern int uname(out utsname name); } }