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/statistics | |
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/statistics')
-rw-r--r-- | src/statistics/statistics.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/statistics/statistics.h b/src/statistics/statistics.h index a65dff147..3fcac275a 100644 --- a/src/statistics/statistics.h +++ b/src/statistics/statistics.h | |||
@@ -29,6 +29,8 @@ | |||
29 | 29 | ||
30 | #define DEBUG_STATISTICS GNUNET_EXTRA_LOGGING | 30 | #define DEBUG_STATISTICS GNUNET_EXTRA_LOGGING |
31 | 31 | ||
32 | GNUNET_NETWORK_STRUCT_BEGIN | ||
33 | |||
32 | /** | 34 | /** |
33 | * Statistics message. Contains how long the system is up | 35 | * Statistics message. Contains how long the system is up |
34 | * and one value. | 36 | * and one value. |
@@ -128,6 +130,6 @@ struct GNUNET_STATISTICS_WatchValueMessage | |||
128 | uint64_t value GNUNET_PACKED; | 130 | uint64_t value GNUNET_PACKED; |
129 | 131 | ||
130 | }; | 132 | }; |
131 | 133 | GNUNET_NETWORK_STRUCT_END | |
132 | 134 | ||
133 | #endif | 135 | #endif |