Fixes declaration conflict with built-in strncpy.
* testsuite/ld-cdtest/cdtest-foo.cc: Test for __GNUG__ >= 2.
+2016-12-03 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-cdtest/cdtest-foo.cc: Test for __GNUG__ >= 2.
+
2016-12-03 Alan Modra <amodra@gmail.com>
* ldexp.c (try_copy_symbol_type): Remove unnecessary check.
// We don't use header files, since we only want to see, whether the
// compiler is installed properly.
//
-#if (__GNUG__ == 2)
+#if __GNUG__ >= 2
typedef __SIZE_TYPE__ size_t;
#else
typedef unsigned int size_t;