projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fc694a
)
Allow local renaming in config.h.
author
Bruno Haible
<bruno@clisp.org>
Sun, 27 Apr 2008 10:41:21 +0000
(12:41 +0200)
committer
Bruno Haible
<bruno@clisp.org>
Sun, 27 Apr 2008 10:41:21 +0000
(12:41 +0200)
ChangeLog
patch
|
blob
|
history
lib/memrchr.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
57496e2
..
2efe5a6
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,5
+1,10
@@
2008-04-27 Bruno Haible <bruno@clisp.org>
+ Allow local renaming in config.h.
+ * lib/memrchr.c (memrchr): Don't undefine outside libc.
+
+2008-04-27 Bruno Haible <bruno@clisp.org>
+
* lib/memchr.c (__memchr): Change type of 'i'.
* lib/memchr2.c (memchr2): Likewise.
diff --git
a/lib/memrchr.c
b/lib/memrchr.c
index
f4467ac
..
2796dea
100644
(file)
--- a/
lib/memrchr.c
+++ b/
lib/memrchr.c
@@
-35,7
+35,9
@@
#include "intprops.h"
#undef __memrchr
-#undef memrchr
+#ifdef _LIBC
+# undef memrchr
+#endif
#ifndef weak_alias
# define __memrchr memrchr