summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-02-24 11:12:32 +0100
committerWerner Koch <wk@gnupg.org>1999-02-24 11:12:32 +0100
commitd1b9b359a6361a964094cde0eb667becbefc90eb (patch)
tree5f9b51104f54240748517f0c2b1fa0377f152b58 /include
parent*** empty log message *** (diff)
downloadgnupg2-d1b9b359a6361a964094cde0eb667becbefc90eb.tar.xz
gnupg2-d1b9b359a6361a964094cde0eb667becbefc90eb.zip
See ChangeLog: Wed Feb 24 11:07:27 CET 1999 Werner Koch
Diffstat (limited to 'include')
-rw-r--r--include/types.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/include/types.h b/include/types.h
index 241e40529..baac2b5c2 100644
--- a/include/types.h
+++ b/include/types.h
@@ -97,8 +97,17 @@
#endif
#endif
-
-
+typedef union {
+ int a;
+ short b;
+ char c[1];
+ long d;
+ #ifdef HAVE_U64_TYPEDEF
+ u64 e;
+ #endif
+ float f;
+ double g;
+} PROPERLY_ALIGNED_TYPE;
typedef struct string_list {
struct string_list *next;