changeset 4747:7113ffd9623a

Better avoid collision with AIX stpncpy().
author Bruno Haible <bruno@clisp.org>
date Fri, 26 Sep 2003 15:28:49 +0000
parents 7f0802de0710
children 7717bd4078ea
files m4/ChangeLog m4/stpncpy.m4
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,6 +1,7 @@
 2003-09-26  Bruno Haible  <bruno@clisp.org>
 
-	* stpncpy.m4: Add comments about the AIX stpncpy().
+	* stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
+	Don't define stpncpy through config.h; it's now done through stpncpy.h.
 
 2003-09-25  Simon Josefsson  <jas@extundo.com>
             Bruno Haible  <bruno@clisp.org>
--- a/m4/stpncpy.m4
+++ b/m4/stpncpy.m4
@@ -52,8 +52,6 @@
       [Define if you have the stpncpy() function and it works.])
   else
     AC_LIBOBJ([stpncpy])
-    AC_DEFINE(stpncpy, rpl_stpncpy,
-      [Define to rpl_stpncpy if the replacement function should be used.])
     gl_PREREQ_STPNCPY
   fi
 ])