Merge pull request #487 from mayerwin/patch-1
[mono.git] / mcs / class / System.Core / System.IO.MemoryMappedFiles / MemoryMappedFile.cs
index 9baf52c37057c92be842a63f277153182599ae9b..c4f9a6624d67e6c90033b83d82a748c2d78fa9f0 100644 (file)
@@ -199,7 +199,7 @@ namespace System.IO.MemoryMappedFiles
                }
 
 
-               [DllImport("kernel32.dll", SetLastError = true)]
+               [DllImport("kernel32", SetLastError = true)]
                static extern bool SetHandleInformation (IntPtr hObject, int dwMask, int dwFlags);
                static void ConfigureWindowsFD (IntPtr handle, HandleInheritability h)
                {