projects
/
pspp
/ 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 57496e25776647e118dc127031d0dd7bf141a1d9..2efe5a6c78063e744d01d865c6fba9e556f45e1f 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+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'.
diff --git
a/lib/memrchr.c
b/lib/memrchr.c
index f4467ac27a9fbab78b7fe2cab85886e720709a75..2796dea3f5b4ce19c6e1225b5b51fdab75be590d 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