diff options
Diffstat (limited to 'ftp/jigdo/files/extra-glibc-getopt.h')
-rw-r--r-- | ftp/jigdo/files/extra-glibc-getopt.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ftp/jigdo/files/extra-glibc-getopt.h b/ftp/jigdo/files/extra-glibc-getopt.h new file mode 100644 index 000000000000..300584ba0825 --- /dev/null +++ b/ftp/jigdo/files/extra-glibc-getopt.h @@ -0,0 +1,23 @@ +--- src/glibc-getopt.h.orig Fri Dec 6 08:24:36 2002 ++++ src/glibc-getopt.h Fri Dec 6 08:29:58 2002 +@@ -37,12 +37,11 @@ + # define ELIDE_CODE + # endif + #endif ++#define ELIDE_CODE + #ifndef ELIDE_CODE + # define opterr my_opterr + # define optind my_optind + # define optopt my_optopt +-#endif +- + + #ifdef __cplusplus + extern "C" { +@@ -186,5 +185,6 @@ + + /* Make sure we later can get all the definitions and declarations. */ + #undef __need_getopt ++#endif /* ELIDE_CODE */ + + #endif /* getopt.h */ |