mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 17:54:37 +08:00
14 lines
377 B
Diff
14 lines
377 B
Diff
--- 15.7/common/lib/modules/fglrx/build_mod/kcl_str.c
|
|
+++ 15.7b/common/lib/modules/fglrx/build_mod/kcl_str.c
|
|
@@ -42,6 +42,10 @@
|
|
#include "kcl_type.h"
|
|
#include "kcl_str.h"
|
|
|
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 20, 0)
|
|
+#define strnicmp strncasecmp
|
|
+#endif
|
|
+
|
|
/** \brief Fill memory with a constant byte
|
|
* \param s Pointer to memory
|
|
* \param c Initializing value
|