[PATCH] D13939: [archie-client][mips] Define NOREGEX macro since MUSL doesn't provide re_{comp, exec}().
Vasileios Kalintiris via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 21 06:21:49 PDT 2015
vkalintiris created this revision.
vkalintiris added a reviewer: dsanders.
vkalintiris added a subscriber: llvm-commits.
http://reviews.llvm.org/D13939
Files:
MultiSource/Benchmarks/Prolangs-C/archie-client/Makefile
MultiSource/Benchmarks/Prolangs-C/archie-client/regex.c
Index: MultiSource/Benchmarks/Prolangs-C/archie-client/regex.c
===================================================================
--- MultiSource/Benchmarks/Prolangs-C/archie-client/regex.c
+++ MultiSource/Benchmarks/Prolangs-C/archie-client/regex.c
@@ -440,7 +440,7 @@
static char *bol;
static char *bopat[MAXTAG];
static char *eopat[MAXTAG];
-char *pmatch();
+static char *pmatch();
/*
* re_exec:
Index: MultiSource/Benchmarks/Prolangs-C/archie-client/Makefile
===================================================================
--- MultiSource/Benchmarks/Prolangs-C/archie-client/Makefile
+++ MultiSource/Benchmarks/Prolangs-C/archie-client/Makefile
@@ -12,3 +12,7 @@
ifeq ($(TARGET_OS),SunOS)
LDFLAGS += -lsocket -lnsl
endif
+
+ifeq ($(ARCH),Mips)
+CFLAGS += -DNOREGEX
+endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13939.38002.patch
Type: text/x-patch
Size: 792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151021/15fef3b3/attachment.bin>
More information about the llvm-commits
mailing list