[PATCH 1/1] wasm32-emscripten: add lock-obj header
Mehdi Sabwat
mehdisabwat at gmail.com
Thu Jun 3 01:25:24 CEST 2021
From: Mehdi Sabwat <mehdi at videolabs.io>
This was generated with emsdk toolchain.
```
emsdk install latest && emsdk activate latest && source emsdk/emsdk_env.sh
cd libgpg-error/
emconfigure ./configure
cd src
emmake make gen-posix-lock-obj
node --experimental-wasm-threads --experimental-wasm-bulk-memory gen-posix-lock-obj
```
---
.../lock-obj-pub.wasm32-unknown-emscripten.h | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 src/syscfg/lock-obj-pub.wasm32-unknown-emscripten.h
diff --git a/src/syscfg/lock-obj-pub.wasm32-unknown-emscripten.h b/src/syscfg/lock-obj-pub.wasm32-unknown-emscripten.h
new file mode 100644
index 0000000..1651518
--- /dev/null
+++ b/src/syscfg/lock-obj-pub.wasm32-unknown-emscripten.h
@@ -0,0 +1,24 @@
+## lock-obj-pub.wasm32-unknown-emscripten.h
+## File created by gen-posix-lock-obj - DO NOT EDIT
+## To be included by mkheader into gpg-error.h
+
+typedef struct
+{
+ long _vers;
+ union {
+ volatile char _priv[28];
+ long _x_align;
+ long *_xp_align;
+ } u;
+} gpgrt_lock_t;
+
+#define GPGRT_LOCK_INITIALIZER {1,{{0,0,0,0,0,0,0,0, \
+ 0,0,0,0,0,0,0,0, \
+ 0,0,0,0,0,0,0,0, \
+ 0,0,0,0}}}
+##
+## Local Variables:
+## mode: c
+## buffer-read-only: t
+## End:
+##
--
2.31.1
More information about the Gnupg-devel
mailing list