Skip to content

Commit a8b691d

Browse files
committed
Fix incorrect endif location that broke the build.
1 parent 2dff7cd commit a8b691d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libraries/Common/src/Interop/Windows/Kernel32/Interop.GetFullPathNameW.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ internal static partial class Kernel32
1616
internal static partial uint GetFullPathNameW(
1717
#else
1818
[DllImport(Libraries.Kernel32, BestFitMapping = false, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)]
19-
#endif
2019
internal static extern uint GetFullPathNameW(
20+
#endif
2121
ref char lpFileName,
2222
uint nBufferLength,
2323
ref char lpBuffer,

src/libraries/Common/src/Interop/Windows/Kernel32/Interop.GetLongPathNameW.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ internal static partial class Kernel32
1515
internal static partial uint GetLongPathNameW(
1616
#else
1717
[DllImport(Libraries.Kernel32, BestFitMapping = false, CharSet = CharSet.Unicode, ExactSpelling = true, SetLastError = true)]
18-
#endif
1918
internal static extern uint GetLongPathNameW(
19+
#endif
2020
ref char lpszShortPath,
2121
ref char lpszLongPath,
2222
uint cchBuffer);

0 commit comments

Comments
 (0)