* tests/test-getlogin_r.c (getlogin_r): Don't check the signature on
Solaris.
+2024-04-19 Bruno Haible <bruno@clisp.org>
+
+ getlogin_r tests: Fix compilation error on some OpenSolaris derivatives.
+ * tests/test-getlogin_r.c (getlogin_r): Don't check the signature on
+ Solaris.
+
2024-04-19 Bruno Haible <bruno@clisp.org>
memset_explicit: Fix compilation error on some OpenSolaris derivatives.
/* Test of getting user name.
- Copyright (C) 2010-2023 Free Software Foundation, Inc.
+ Copyright (C) 2010-2024 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include <unistd.h>
#include "signature.h"
+#if !defined __sun /* On Solaris, the second parameter is of type 'int'. */
SIGNATURE_CHECK (getlogin_r, int, (char *, size_t));
+#endif
#include "test-getlogin.h"