]> git.sur5r.net Git - openldap/commitdiff
Fixed my own stupid mistake of not noticing the 'n' in #ifndef. strdup
authorBart Hartgers <bart@openldap.org>
Sun, 17 Jan 1999 15:27:30 +0000 (15:27 +0000)
committerBart Hartgers <bart@openldap.org>
Sun, 17 Jan 1999 15:27:30 +0000 (15:27 +0000)
should work as it was again...

include/ac/string.h

index 744b4adabc5bb9b5f2f8fdf4dd480516e2916a4c..8cf7bf0e046933c95d87e32ce743ff76c0fd5378 100644 (file)
 
 #ifndef HAVE_STRDUP
        /* strdup() is missing, declare our own version */
-       extern char *strdup( const char *s );
-#else
-       /* provide our own strdup */
        extern char *ldap_pvt_strdup( const char * s );
 #      define strdup ldap_pvt_strdup
+#else
+       /* some systems fail to declare strdup */
+       extern char *strdup();
 #endif
 
 /*