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/core/core.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/core/core.h')
-rw-r--r-- | src/core/core.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/core.h b/src/core/core.h index b76528a8e..4942ad054 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
@@ -50,6 +50,8 @@ | |||
50 | #define GNUNET_CORE_OPTION_SEND_HDR_OUTBOUND 64 | 50 | #define GNUNET_CORE_OPTION_SEND_HDR_OUTBOUND 64 |
51 | 51 | ||
52 | 52 | ||
53 | GNUNET_NETWORK_STRUCT_BEGIN | ||
54 | |||
53 | /** | 55 | /** |
54 | * Message transmitted core clients to gnunet-service-core | 56 | * Message transmitted core clients to gnunet-service-core |
55 | * to start the interaction. This header is followed by | 57 | * to start the interaction. This header is followed by |
@@ -373,6 +375,6 @@ struct ConnectMessage | |||
373 | struct GNUNET_PeerIdentity peer; | 375 | struct GNUNET_PeerIdentity peer; |
374 | 376 | ||
375 | }; | 377 | }; |
376 | 378 | GNUNET_NETWORK_STRUCT_END | |
377 | #endif | 379 | #endif |
378 | /* end of core.h */ | 380 | /* end of core.h */ |