@@ -621,7 +621,7 @@ test10 (void)
}
}
-#ifndef __AVR__ /* avr has no strndup */
+#if !defined(__AVR__) && !defined(__hpux__) /* avr and hpux have no strndup */
/* Tests for strdup/strndup. */
size_t
__attribute__ ((noinline))
@@ -726,7 +726,7 @@ main (void)
test8 ();
test9 (1);
test10 ();
-#ifndef __AVR__ /* avr has no strndup */
+#if !defined(__AVR__) && !defined(__hpux__) /* avr and hpux have no strndup */
test11 ();
#endif
DONE ();
@@ -536,7 +536,7 @@ test8 (unsigned cond)
#endif
}
-#ifndef __AVR__ /* avr has no strndup */
+#if !defined(__AVR__) && !defined(__hpux__) /* avr and hpux have no strndup */
/* Tests for strdup/strndup. */
size_t
__attribute__ ((noinline))
@@ -639,7 +639,7 @@ main (void)
test6 ();
test7 ();
test8 (1);
-#ifndef __AVR__ /* avr has no strndup */
+#if !defined(__AVR__) && !defined(__hpux__) /* avr and hpux have no strndup */
test9 ();
#endif
DONE ();
@@ -628,7 +628,7 @@ test10 (void)
}
}
-#ifndef __AVR__ /* avr has no strndup */
+#if !defined(__AVR__) && !defined(__hpux__) /* avr and hpux have no strndup */
/* Tests for strdup/strndup. */
size_t
__attribute__ ((noinline))
@@ -734,7 +734,7 @@ main (void)
test8 ();
test9 (1);
test10 ();
-#ifndef __AVR__ /* avr has no strndup */
+#if !defined(__AVR__) && !defined(__hpux__) /* avr and hpux have no strndup */
test11 ();
#endif
DONE ();
@@ -509,7 +509,7 @@ test8 (unsigned cond)
#endif
}
-#ifndef __AVR__ /* avr has no strndup */
+#if !defined(__AVR__) && !defined(__hpux__) /* avr and hpux have no strndup */
/* Tests for strdup/strndup. */
size_t
__attribute__ ((noinline))
@@ -612,7 +612,7 @@ main (void)
test6 ();
test7 ();
test8 (1);
-#ifndef __AVR__ /* avr has no strndup */
+#if !defined(__AVR__) && !defined(__hpux__) /* avr and hpux have no strndup */
test9 ();
#endif
DONE ();