Mercurial > gnulib
changeset 38503:9c8f0d9a64e0
getopt: port to Solaris 10 with circa-1997 glibc getopt.h
Problem reported by Assaf Gordon and Gavin Smith in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-04/msg00157.html
* lib/getopt-pfx-ext.h (_getopt_internal) [__GETOPT_PREFIX]:
#define this, too.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sat, 29 Apr 2017 11:09:39 -0700 |
parents | 633f91ad5297 |
children | b3244d443b55 |
files | ChangeLog lib/getopt-pfx-ext.h |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sat Apr 29 13:23:28 2017 +0200 +++ b/ChangeLog Sat Apr 29 11:09:39 2017 -0700 @@ -1,3 +1,11 @@ +2017-04-29 Paul Eggert <eggert@cs.ucla.edu> + + getopt: port to Solaris 10 with circa-1997 glibc getopt.h + Problem reported by Assaf Gordon and Gavin Smith in: + http://lists.gnu.org/archive/html/bug-gnulib/2017-04/msg00157.html + * lib/getopt-pfx-ext.h (_getopt_internal) [__GETOPT_PREFIX]: + #define this, too. + 2017-04-29 Bruno Haible <bruno@clisp.org> strerror_r-posix: Fixes for MSVC 14.
--- a/lib/getopt-pfx-ext.h Sat Apr 29 13:23:28 2017 +0200 +++ b/lib/getopt-pfx-ext.h Sat Apr 29 11:09:39 2017 -0700 @@ -40,9 +40,11 @@ # undef getopt_long # undef getopt_long_only # undef option +# undef _getopt_internal # define getopt_long __GETOPT_ID (getopt_long) # define getopt_long_only __GETOPT_ID (getopt_long_only) # define option __GETOPT_ID (option) +# define _getopt_internal __GETOPT_ID (getopt_internal) #endif /* Standalone applications get correct prototypes for getopt_long and