diff options
author | Werner Koch <[email protected]> | 2014-09-18 10:30:28 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-09-18 11:01:47 +0000 |
commit | cc4b0caa57a595a3727e51e061c519232f7bdb05 (patch) | |
tree | 48bd3039e2f54d86ffb555f73d3009159e532196 /src/syscfg/lock-obj-pub.arm-apple-darwin.h | |
parent | Fix es_fclose for streams opened with "samethread". (diff) | |
download | libgpg-error-cc4b0caa57a595a3727e51e061c519232f7bdb05.tar.gz libgpg-error-cc4b0caa57a595a3727e51e061c519232f7bdb05.zip |
Add new lock-obj-pub for Apple iOS.
* src/syscfg/lock-obj-pub.aarch64-apple-darwin.h: New.
* src/syscfg/lock-obj-pub.arm-apple-darwin.h: New.
--
Created by Chris Ballinger <[email protected]>. He also noted:
When cross-compiling for arm-apple-darwin and aarch64-apple-darwin I
also needed to generate these files, so here they are. I made a
little iOS utility to help people generate them in case Apple adds
any more architectures in the future:
https://github.com/chrisballinger/gen-posix-lock-obj-iOS
Diffstat (limited to '')
-rw-r--r-- | src/syscfg/lock-obj-pub.arm-apple-darwin.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/syscfg/lock-obj-pub.arm-apple-darwin.h b/src/syscfg/lock-obj-pub.arm-apple-darwin.h new file mode 100644 index 0000000..4e9f630 --- /dev/null +++ b/src/syscfg/lock-obj-pub.arm-apple-darwin.h @@ -0,0 +1,26 @@ +## lock-obj-pub.arm-apple-darwin.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[44]; + long _x_align; + long *_xp_align; + } u; +} gpgrt_lock_t; + +#define GPGRT_LOCK_INITIALIZER {1,{{167,171,170,50,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, \ +0,0,0,0,0,0,0,0, \ +0,0,0,0}}} +## +## Local Variables: +## mode: c +## buffer-read-only: t +## End: +## |