diff options
Diffstat (limited to 'src/common/le_architecture.h')
-rw-r--r-- | src/common/le_architecture.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/common/le_architecture.h b/src/common/le_architecture.h index d8f28f7..5a34983 100644 --- a/src/common/le_architecture.h +++ b/src/common/le_architecture.h | |||
@@ -101,24 +101,6 @@ | |||
101 | */ | 101 | */ |
102 | #define LE_PACKED __attribute__((packed)) | 102 | #define LE_PACKED __attribute__((packed)) |
103 | 103 | ||
104 | /** | ||
105 | * gcc-ism to get gcc bitfield layout when compiling with -mms-bitfields | ||
106 | */ | ||
107 | #ifdef __MINGW32__ | ||
108 | #define LE_GCC_STRUCT_LAYOUT __attribute__((gcc_struct)) | ||
109 | #else | ||
110 | #define LE_GCC_STRUCT_LAYOUT | ||
111 | #endif | ||
112 | |||
113 | /** | ||
114 | * gcc-ism to document unused arguments | ||
115 | */ | ||
116 | #define LE_UNUSED __attribute__((unused)) | ||
117 | |||
118 | /** | ||
119 | * gcc-ism to document functions that don't return | ||
120 | */ | ||
121 | #define LE_NORETURN __attribute__((noreturn)) | ||
122 | 104 | ||
123 | #if MINGW | 105 | #if MINGW |
124 | #if __GNUC__ > 3 | 106 | #if __GNUC__ > 3 |