diff options
Diffstat (limited to 'src/common/le_architecture.h')
-rw-r--r-- | src/common/le_architecture.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/le_architecture.h b/src/common/le_architecture.h index b863ddb..fb5044b 100644 --- a/src/common/le_architecture.h +++ b/src/common/le_architecture.h | |||
@@ -108,13 +108,13 @@ | |||
108 | * gcc 4.x-ism to pack structures even on W32 (to be used before structs) | 108 | * gcc 4.x-ism to pack structures even on W32 (to be used before structs) |
109 | */ | 109 | */ |
110 | #define LE_NETWORK_STRUCT_BEGIN \ | 110 | #define LE_NETWORK_STRUCT_BEGIN \ |
111 | _Pragma("pack(push)") \ | 111 | _Pragma ("pack(push)") \ |
112 | _Pragma("pack(1)") | 112 | _Pragma ("pack(1)") |
113 | 113 | ||
114 | /** | 114 | /** |
115 | * gcc 4.x-ism to pack structures even on W32 (to be used after structs) | 115 | * gcc 4.x-ism to pack structures even on W32 (to be used after structs) |
116 | */ | 116 | */ |
117 | #define LE_NETWORK_STRUCT_END _Pragma("pack(pop)") | 117 | #define LE_NETWORK_STRUCT_END _Pragma ("pack(pop)") |
118 | #else | 118 | #else |
119 | #error gcc 4.x or higher required on W32 systems | 119 | #error gcc 4.x or higher required on W32 systems |
120 | #endif | 120 | #endif |
@@ -122,7 +122,7 @@ | |||
122 | /** | 122 | /** |
123 | * Good luck, LE_PACKED should suffice, but this won't work on W32 | 123 | * Good luck, LE_PACKED should suffice, but this won't work on W32 |
124 | */ | 124 | */ |
125 | #define LE_NETWORK_STRUCT_BEGIN | 125 | #define LE_NETWORK_STRUCT_BEGIN |
126 | 126 | ||
127 | /** | 127 | /** |
128 | * Good luck, LE_PACKED should suffice, but this won't work on W32 | 128 | * Good luck, LE_PACKED should suffice, but this won't work on W32 |