Use __packed instead of __attribute__((packed)).

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3500 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2011-06-01 10:40:07 +00:00
parent 6f8d4b7288
commit beeef55b6f
5 changed files with 16 additions and 12 deletions
+2 -2
View File
@@ -23,8 +23,8 @@
#define ISCSI_VERSION 0
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 21)
#define __packed __attribute__ ((packed))
#ifndef __packed
#error The macro __packed has not been defined.
#endif
/* iSCSI command PDU header. See also section 10.3 in RFC 3720. */