]> Savannah Git Hosting - gnulib.git/commitdiff
getopt: port to Solaris 10 with circa-1997 glibc getopt.h
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 29 Apr 2017 18:09:39 +0000 (11:09 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 29 Apr 2017 18:10:00 +0000 (11:10 -0700)
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.

ChangeLog
lib/getopt-pfx-ext.h

index d641fb7841b12e0e46b6a1f1c24f47e058c60162..5640abe74a5843551c2d7fccf34c8a606f1124e4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 2f86b23169dde5663dbffb6c74fabc5da082c6e5..d960bb34ee09b61a098884683bb9ecf433179cff 100644 (file)
 # 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