From a01bb050fe96f9c9914915744c482bd24c4ee412 Mon Sep 17 00:00:00 2001 From: Alex Babich Date: Wed, 3 Jul 2024 17:12:01 +0300 Subject: [PATCH] - changed conditional imports --- lib/src/getsid.dart | 2 +- lib/src/getuid.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/getsid.dart b/lib/src/getsid.dart index c3481a4..a5e7cc7 100644 --- a/lib/src/getsid.dart +++ b/lib/src/getsid.dart @@ -1,2 +1,2 @@ // Conditionally import the FFI version, so this doesn't break web builds. -export 'getsid_stub.dart' if (dart.library.ffi) 'getsid_windows.dart'; +export 'getsid_stub.dart' if (dart.library.io) 'getsid_windows.dart'; diff --git a/lib/src/getuid.dart b/lib/src/getuid.dart index 6911ed4..90323fe 100644 --- a/lib/src/getuid.dart +++ b/lib/src/getuid.dart @@ -1,2 +1,2 @@ // Conditionally import the FFI version, so this doesn't break web builds. -export 'getuid_stub.dart' if (dart.library.ffi) 'getuid_linux.dart'; +export 'getuid_stub.dart' if (dart.library.io) 'getuid_linux.dart';