Skip to content

Commit

Permalink
Заменил устаревшее имя стандартной библиотеки
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilBeaver committed Jan 9, 2024
1 parent d07c298 commit b944a18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/OneScript.StandardLibrary/NativeApi/NativeApiKernel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static bool IsLinux
}

private const String KernelWin = "kernel32.dll";
private const String KernelLin = "libdl.so";
private const String KernelLin = "libdl.so.2";

public static IntPtr LoadLibrary(string filename)
{
Expand Down
2 changes: 0 additions & 2 deletions tests/native-api.os
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
ЭтоWindows = Истина;
#ИначеЕсли Linux Тогда
ЭтоWindows = Ложь;
Каталог = ТекущийСценарий().Каталог + "/native-api/";
ЗапуститьПриложение(Каталог + "build.sh", Каталог, Истина);
#Иначе
Возврат Новый Массив; // под макос не тестируем
#КонецЕсли
Expand Down

0 comments on commit b944a18

Please sign in to comment.