libcprops: fix musl
This commit is contained in:
parent
997238f2ae
commit
e54d008123
|
@ -0,0 +1,20 @@
|
|||
--- util.c.orig 2012-01-13 23:25:58.000000000 +0100
|
||||
+++ util.c 2018-05-26 20:14:12.290726591 +0200
|
||||
@@ -386,7 +386,7 @@
|
||||
msg = "Invalid back reference to a subexpression.";
|
||||
break;
|
||||
|
||||
-#ifdef linux
|
||||
+#ifdef __GLIBC__
|
||||
case REG_EEND:
|
||||
msg = "Non specific error.";
|
||||
break;
|
||||
@@ -400,7 +400,7 @@
|
||||
msg = "Invalid use of pattern operators such as group or list.";
|
||||
break;
|
||||
|
||||
-#ifdef linux
|
||||
+#ifdef __GLIBC__
|
||||
case REG_ESIZE:
|
||||
msg = "Compiled regular expression requires a pattern buffer larger than 64Kb.";
|
||||
break;
|
Loading…
Reference in New Issue