diff options
| author | Paul Eggert | 2017-06-11 17:29:21 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-06-11 17:30:06 -0700 |
| commit | 07ab8374917bd2048b594f21adcc152d09eb21df (patch) | |
| tree | f07c97068d53216c2e637de512fffdc79605785e /lib | |
| parent | bb534f6afe95723f226117eb52e184838bae4c6a (diff) | |
| download | emacs-07ab8374917bd2048b594f21adcc152d09eb21df.tar.gz emacs-07ab8374917bd2048b594f21adcc152d09eb21df.zip | |
Merge from gnulib
This incorporates:
2017-06-11 getopt-posix: port to glibc 2.25.90
2017-06-04 same-inode: port better to VMS 8.2 and later
* doc/misc/texinfo.tex, lib/getopt-pfx-core.h, lib/getopt-pfx-ext.h:
* m4/sys_types_h.m4: Copy from gnulib.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/getopt-pfx-core.h | 5 | ||||
| -rw-r--r-- | lib/getopt-pfx-ext.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/getopt-pfx-core.h b/lib/getopt-pfx-core.h index 4dc427dc3ef..db5f15c22d7 100644 --- a/lib/getopt-pfx-core.h +++ b/lib/getopt-pfx-core.h | |||
| @@ -47,6 +47,11 @@ | |||
| 47 | # define opterr __GETOPT_ID (opterr) | 47 | # define opterr __GETOPT_ID (opterr) |
| 48 | # define optind __GETOPT_ID (optind) | 48 | # define optind __GETOPT_ID (optind) |
| 49 | # define optopt __GETOPT_ID (optopt) | 49 | # define optopt __GETOPT_ID (optopt) |
| 50 | |||
| 51 | /* The system's getopt.h may have already included getopt-core.h to | ||
| 52 | declare the unprefixed identifiers. Undef _GETOPT_CORE_H so that | ||
| 53 | getopt-core.h declares them with prefixes. */ | ||
| 54 | # undef _GETOPT_CORE_H | ||
| 50 | #endif | 55 | #endif |
| 51 | 56 | ||
| 52 | #include <getopt-core.h> | 57 | #include <getopt-core.h> |
diff --git a/lib/getopt-pfx-ext.h b/lib/getopt-pfx-ext.h index 08397591790..91f4df1720f 100644 --- a/lib/getopt-pfx-ext.h +++ b/lib/getopt-pfx-ext.h | |||
| @@ -45,6 +45,11 @@ | |||
| 45 | # define getopt_long_only __GETOPT_ID (getopt_long_only) | 45 | # define getopt_long_only __GETOPT_ID (getopt_long_only) |
| 46 | # define option __GETOPT_ID (option) | 46 | # define option __GETOPT_ID (option) |
| 47 | # define _getopt_internal __GETOPT_ID (getopt_internal) | 47 | # define _getopt_internal __GETOPT_ID (getopt_internal) |
| 48 | |||
| 49 | /* The system's getopt.h may have already included getopt-ext.h to | ||
| 50 | declare the unprefixed identifiers. Undef _GETOPT_EXT_H so that | ||
| 51 | getopt-ext.h declares them with prefixes. */ | ||
| 52 | # undef _GETOPT_EXT_H | ||
| 48 | #endif | 53 | #endif |
| 49 | 54 | ||
| 50 | /* Standalone applications get correct prototypes for getopt_long and | 55 | /* Standalone applications get correct prototypes for getopt_long and |