Finally finish with MinGW building (linking still has some issues shush)

This commit is contained in:
wuggy 2026-04-18 01:02:51 -07:00
commit 854f39b4ab
32 changed files with 104 additions and 19 deletions

View file

@ -3,6 +3,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <stdlib.h>
#include "mozilla/PluginPRLibrary.h"
#include "nsNPAPIPluginInstance.h"

View file

@ -121,8 +121,8 @@ TranslateVersionStr(const WCHAR* szVersion, verBlock *vbVersion)
// wcstok that is generally not thread-safe. For our purposes here, it works
// fine, though.
auto wcstok = [](wchar_t* strToken, const wchar_t* strDelimit,
wchar_t** /*ctx*/) {
return ::std::wcstok(strToken, strDelimit);
wchar_t** ctx) {
return ::wcstok(strToken, strDelimit, ctx);
};
#endif