Fix two Marshal tests to not hardcode OSX libc
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 3 Nov 2015 13:31:52 +0000 (14:31 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 16 Nov 2015 19:42:03 +0000 (20:42 +0100)
commite5120a725f229d09f257cf6b759da136f069ecf4
treeda42d63e5ccf0057b1f8f7c9c704f078db9bdae7
parent1aad667d92f340cbff8d7a1c3d8252278a8537e4
Fix two Marshal tests to not hardcode OSX libc

Don't hardcode OSX path to libc.dylib, we can just use libc in the DllImport.

Fix the signature to return an IntPtr and do marshalling of the string correctly.
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshal/marshalgetlastwin32error.cs
tests/src/CoreMangLib/cti/system/runtime/interopservices/marshal/marshalreadint641.cs