Skip to content

Commit

Permalink
this will fix it
Browse files Browse the repository at this point in the history
  • Loading branch information
samardzicneo committed Mar 7, 2024
1 parent 1dd3250 commit e6fa1c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NodeApi/Runtime/NodejsPlatform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System;
using System.Runtime.InteropServices;

#if NETCOREAPP3_0_OR_GREATER
#if NET7_0_OR_GREATER
using System.Reflection;
#endif

Expand Down Expand Up @@ -48,7 +48,7 @@ public NodejsPlatform(
"Only one Node.js platform instance per process is allowed.");
}

#if NETCOREAPP3_0_OR_GREATER
#if NET7_0_OR_GREATER
var entryAssembly = Assembly.GetEntryAssembly();

nint libnodeHandle =
Expand Down

0 comments on commit e6fa1c6

Please sign in to comment.