Fixed ifdefs

This commit is contained in:
David Fowler 2015-10-24 01:07:01 -07:00
parent 0c064dfb6c
commit 327589d41e
1 changed files with 2 additions and 2 deletions

View File

@ -8,13 +8,13 @@ namespace Microsoft.AspNet.IISPlatformHandler
{ {
internal class NativeMethods internal class NativeMethods
{ {
#if DNXCORE50 #if DOTNET5_4
private const string api_ms_win_core_handle_LIB = "api-ms-win-core-handle-l1-1-0.dll"; private const string api_ms_win_core_handle_LIB = "api-ms-win-core-handle-l1-1-0.dll";
#else #else
private const string KERNEL32 = "kernel32.dll"; private const string KERNEL32 = "kernel32.dll";
#endif #endif
#if DNXCORE50 #if DOTNET5_4
[DllImport(api_ms_win_core_handle_LIB, ExactSpelling = true, SetLastError = true)] [DllImport(api_ms_win_core_handle_LIB, ExactSpelling = true, SetLastError = true)]
#else #else
[DllImport(KERNEL32, ExactSpelling = true, SetLastError = true)] [DllImport(KERNEL32, ExactSpelling = true, SetLastError = true)]