commit | fa94a17c9cc4e173bc8e4467a039e2a14085e87f | [log] [tgz] |
---|---|---|
author | Martin Storsjö <martin@martin.st> | Tue Oct 31 22:55:50 2023 +0200 |
committer | Martin Storsjö <martin@martin.st> | Fri Nov 10 10:46:38 2023 +0200 |
tree | 98c245abda7363ba3eba8c6f877730ca81de5e59 | |
parent | f2d3c88343fbe7a30f1e1ddccb650889234e79b0 [diff] |
winpthreads: Check GetModuleHandle return value before calling GetProcAddress In Windows Store builds with the winstorecompat library, GetModuleHandle returns null, and GetProcAddress is not documented to allow passing null. Signed-off-by: Martin Storsjö <martin@martin.st>