Un-hardcode library name.

This commit is contained in:
2015-04-26 04:07:31 +01:00
parent d5311b8a51
commit 5b541afd45
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2015-04-26 Natalia Portillo <claunia@claunia.com>
* Interop/Linux/Interop.Linux.uname.cs:
Un-hardcode library name.
2015-04-26 Natalia Portillo <claunia@claunia.com>
* Interop/Apple/Interop.Apple.xattr.cs:

View File

@@ -73,7 +73,7 @@ internal static partial class Interop
/// </summary>
/// <param name="name"><see cref="utsname"/>.</param>
/// <returns>On success, 0. On failure, -1, and errno is set.</returns>
[DllImport("libc", SetLastError = true)]
[DllImport(Libraries.Libc, SetLastError = true)]
internal static extern int uname(out utsname name);
}
}