diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-21 09:40:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-21 09:40:15 +0000 |
commit | c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac (patch) | |
tree | 02e313a83c4416f07fadf650d33aff09dfe46130 /src/include/gnunet_time_lib.h | |
parent | 40e5092e9a5db88b4c9b62cb341596fbf6ce1cf8 (diff) | |
download | gnunet-c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac.tar.gz gnunet-c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac.zip |
fixing 2012: network structure alignment now forced to be correct even on W32 using #pragma pack from gcc 4.x
Diffstat (limited to 'src/include/gnunet_time_lib.h')
-rw-r--r-- | src/include/gnunet_time_lib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/gnunet_time_lib.h b/src/include/gnunet_time_lib.h index f8afdae41..7090c33a1 100644 --- a/src/include/gnunet_time_lib.h +++ b/src/include/gnunet_time_lib.h | |||
@@ -61,6 +61,7 @@ struct GNUNET_TIME_Relative | |||
61 | uint64_t rel_value; | 61 | uint64_t rel_value; |
62 | }; | 62 | }; |
63 | 63 | ||
64 | GNUNET_NETWORK_STRUCT_BEGIN | ||
64 | 65 | ||
65 | /** | 66 | /** |
66 | * Time for relative time used by GNUnet, in milliseconds and in network byte order. | 67 | * Time for relative time used by GNUnet, in milliseconds and in network byte order. |
@@ -84,7 +85,7 @@ struct GNUNET_TIME_AbsoluteNBO | |||
84 | */ | 85 | */ |
85 | uint64_t abs_value__ GNUNET_PACKED; | 86 | uint64_t abs_value__ GNUNET_PACKED; |
86 | }; | 87 | }; |
87 | 88 | GNUNET_NETWORK_STRUCT_END | |
88 | 89 | ||
89 | /** | 90 | /** |
90 | * Relative time zero. | 91 | * Relative time zero. |