fcst: Merge r7243 from trunk

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7526 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-01 02:01:16 +00:00
parent 500a239b60
commit 3cdb7f4516
+6
View File
@@ -19,9 +19,15 @@
#ifdef INSIDE_KERNEL_TREE
#include <scst/scst.h>
#define NEW_LIBFC_API
#else
#include <linux/version.h>
#include "scst.h"
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0) || \
defined(CONFIG_SUSE_KERNEL) && \
LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)
#define NEW_LIBFC_API
#endif
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0) || \