projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stpncpy: Allow stpncpy to be defined as a macro.
[gnulib.git]
/
lib
/
string.in.h
diff --git
a/lib/string.in.h
b/lib/string.in.h
index
fb73770
..
bb6aa58
100644
(file)
--- a/
lib/string.in.h
+++ b/
lib/string.in.h
@@
-233,6
+233,7
@@
_GL_WARN_ON_USE (stpcpy, "stpcpy is unportable - "
#if @GNULIB_STPNCPY@
# if @REPLACE_STPNCPY@
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+# undef stpncpy
# define stpncpy rpl_stpncpy
# endif
_GL_FUNCDECL_RPL (stpncpy, char *,