mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
Builds again on RHEL 5.x / CentOS 5.x.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1580 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -46,7 +46,9 @@ struct scsi_io_context {
|
||||
static struct kmem_cache *scsi_io_context_cache;
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 21)
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22) \
|
||||
&& (!defined(RHEL_RELEASE_CODE) || RHEL_RELEASE_CODE -0 < 5 * 256 + 3) \
|
||||
&& !defined(CONFIG_PPC)
|
||||
static int strncasecmp(const char *s1, const char *s2, size_t n)
|
||||
{
|
||||
int c1, c2;
|
||||
|
||||
Reference in New Issue
Block a user