mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
f7aed7a00d
https://anaongit.gentoo.org/git/repo/gentoo.git @ 52dac7bdbb16f2353b15137165b69056034d7ad0 and parents for further source information.
15 lines
535 B
Diff
15 lines
535 B
Diff
--- a/common/lib/modules/fglrx/build_mod/kcl_str.c 2015-09-13 13:47:30.000000000 -0400
|
|
+++ b/common/lib/modules/fglrx/build_mod/kcl_str.c 2015-09-13 13:49:42.000000000 -0400
|
|
@@ -169,7 +169,11 @@ int ATI_API_CALL KCL_STR_Strnicmp(const
|
|
const char* s2,
|
|
KCL_TYPE_SizeSigned count)
|
|
{
|
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0)
|
|
return strnicmp(s1, s2, count);
|
|
+#else
|
|
+ return strncasecmp(s1, s2, count);
|
|
+#endif
|
|
}
|
|
|
|
/** \brief Locate character in string
|