mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
iSCSI-SCST: only define __packed for those kernels versions that do not have a definition for __packed.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3498 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
#define ISCSI_VERSION 0
|
||||
|
||||
#ifndef __packed
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 21)
|
||||
#define __packed __attribute__ ((packed))
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user