mescc: Support gcc-2.95: Add getpwnam stub.
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 7 Jun 2018 16:04:17 +0000 (18:04 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 7 Jun 2018 16:04:17 +0000 (18:04 +0200)
* lib/gcc.c (getpwnam): New stub.

lib/gcc.c

index 6bb9ea4c68bd7b7f8750033ba8cba685888673d6..7cca126a69e9b1ec4e4d86684ce2822d389305ae 100644 (file)
--- a/lib/gcc.c
+++ b/lib/gcc.c
@@ -105,3 +105,11 @@ alarm (unsigned int seconds)
 #endif
 }
 
+// gcc-2.95.3
+
+struct passwd *
+getpwnam (const char *NAME)
+{
+  eputs ("getpwnam stub\n");
+  return 0;
+}