Skip to content

Commit

Permalink
replaced deprecated loadLibrary() by load()
Browse files Browse the repository at this point in the history
  • Loading branch information
codeanticode committed Aug 21, 2019
1 parent c1cfdc9 commit 465e523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/processing/video/Environment.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ static public class POSIX {
static Object libc;
static {
if (System.getProperty("os.name").contains("Windows")) {
libc = Native.loadLibrary("msvcrt", WinLibC.class);
libc = Native.load("msvcrt", WinLibC.class);
} else {
libc = Native.loadLibrary("c", UnixLibC.class);
libc = Native.load("c", UnixLibC.class);
}
}

Expand Down

0 comments on commit 465e523

Please sign in to comment.