mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
BUG 98: Use __attribute__ ((packed)) only with GCC.
This commit is contained in:
@@ -31,7 +31,7 @@ struct ssh_string_struct {
|
||||
uint32_t size;
|
||||
unsigned char data[1];
|
||||
}
|
||||
#if !defined(__SUNPRO_C) && !defined(_MSC_VER)
|
||||
#if defined(__GNUC__)
|
||||
__attribute__ ((packed))
|
||||
#endif
|
||||
#ifdef _MSC_VER
|
||||
|
Reference in New Issue
Block a user