aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/string.h')
-rw-r--r--include/libssh/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/string.h b/include/libssh/string.h
index 5f3942db..a4e7c448 100644
--- a/include/libssh/string.h
+++ b/include/libssh/string.h
@@ -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