Better avoid collision with AIX stpncpy().
authorBruno Haible <bruno@clisp.org>
Fri, 26 Sep 2003 15:28:49 +0000 (15:28 +0000)
committerBruno Haible <bruno@clisp.org>
Fri, 26 Sep 2003 15:28:49 +0000 (15:28 +0000)
m4/ChangeLog
m4/stpncpy.m4

index 61b46fe8df638659336bce21a690beb54b889b77..3dea04556bd879bcc2341dcc432042782b80b565 100644 (file)
@@ -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>
index fc47e65ccc78d41b37bedcba3657a5c791b0a438..aebfe739b9b8df5ed7195c5e4fce52cba6e651f8 100644 (file)
@@ -52,8 +52,6 @@ int main () {
       [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
 ])