Skip to content

Commit c81fa0a

Browse files
committed
Interop.Constants.cs: Get ready for iOS, tvOS, Mac Catalyst, and Android support.
The Android part comes from here (assuming I'm interpreting it correctly): ektrah/nsec#81
1 parent 6b15c57 commit c81fa0a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Geralt/Interop/Interop.Constants.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ internal static partial class Interop
44
{
55
internal static partial class Libsodium
66
{
7-
#if IOS
7+
#if IOS || TVOS || MACCATALYST
88
private const string DllName = "__Internal";
9+
#elif ANDROID
10+
private const string DllName = "libsodium.so";
911
#else
1012
private const string DllName = "libsodium";
1113
#endif

0 commit comments

Comments
 (0)