Bug 1726474 - Update rlbox_wasm2c_sandbox and wasm2c_sandbox_compiler for mingw builds. r=shravanrn

Differential Revision: https://phabricator.services.mozilla.com/D123541
This commit is contained in:
Mike Hommey 2021-08-25 07:39:02 +00:00
parent 707032f415
commit ebf3e96eb4
6 changed files with 8 additions and 14 deletions

View File

@ -9,8 +9,8 @@ origin:
description: rlbox integration for the wasm2c sandboxed code
url: https://github.com/PLSysSec/rlbox_wasm2c_sandbox
release: commit 89df704002aba0fe79ca5b5fb26cda7dbecb5742 (2021-08-18T22:33:54Z).
revision: 89df704002aba0fe79ca5b5fb26cda7dbecb5742
release: commit a7b7233cf1845bc2548ffc7ea06f27e8a024b851 (2021-08-24T08:37:28Z).
revision: a7b7233cf1845bc2548ffc7ea06f27e8a024b851
license: MIT
license-file: LICENSE

View File

@ -9,8 +9,8 @@ origin:
description: wasm2c fork used for rlbox sandboxing
url: https://github.com/PLSysSec/wasm2c_sandbox_compiler
release: commit b785706fd885ffb4255639c31249ba7040b3b83f (2021-08-18T21:38:59Z).
revision: b785706fd885ffb4255639c31249ba7040b3b83f
release: commit 8e81237c485f9282a4c176be50bd3c1f8a3ed7d7 (2021-08-24T09:37:16Z).
revision: 8e81237c485f9282a4c176be50bd3c1f8a3ed7d7
license: Apache-2.0
license-file: LICENSE

View File

@ -22,7 +22,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
#else
#include <dlfcn.h>
#endif

View File

@ -11,7 +11,7 @@
#include <stdlib.h>
#include <string.h>
#include <Windows.h>
#include <windows.h>
#ifdef VERBOSE_LOGGING
#define VERBOSE_LOG(...) { printf(__VA_ARGS__); }

View File

@ -13,7 +13,7 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <Windows.h>
#include <windows.h>
#define LINETERM "\r\n"
#else
#include <dlfcn.h>

View File

@ -48,12 +48,6 @@ typedef double f64;
#ifdef _MSC_VER
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#else // _MSC_VER
#ifdef _WIN64
typedef signed long long ssize_t;
#else // _WIN64
typedef signed long ssize_t;
#endif // _WIN64
#endif // _MSC_VER
#endif // _WIN32