Skip to content

Commit

Permalink
ci(tests): simplify the ChannelSettings.NativeLib definition
Browse files Browse the repository at this point in the history
  • Loading branch information
LSViana committed Oct 14, 2023
1 parent e0fa379 commit 92fbbe9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions YDotNet/Native/ChannelSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ namespace YDotNet.Native;

internal static class ChannelSettings
{
#if WINDOWS
public const string NativeLib = "yrs.dll";
#else
public const string NativeLib = "libyrs.dylib";
#endif
// The file extension doesn't need to be defined here because the `DllImport` attribute adds it automatically.
//
// More information: https://learn.microsoft.com/en-us/dotnet/standard/native-interop/native-library-loading
public const string NativeLib = "yrs";
}

0 comments on commit 92fbbe9

Please sign in to comment.