aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/getopt1.c
diff options
context:
space:
mode:
authorUlrich Drepper1998-04-14 00:02:53 +0000
committerUlrich Drepper1998-04-14 00:02:53 +0000
commit06bd27fdf5fa529e58ce129e3d906d17b5dcda34 (patch)
treeb3b06998a92e40fccfede0d5c5bc23a0754192c6 /lib-src/getopt1.c
parent4ad8bb205e89d91ca2703641bfc602499ac6678c (diff)
downloademacs-06bd27fdf5fa529e58ce129e3d906d17b5dcda34.tar.gz
emacs-06bd27fdf5fa529e58ce129e3d906d17b5dcda34.zip
automatically generated from GPLed version
Diffstat (limited to 'lib-src/getopt1.c')
-rw-r--r--lib-src/getopt1.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib-src/getopt1.c b/lib-src/getopt1.c
index af8e6819657..ff257374c33 100644
--- a/lib-src/getopt1.c
+++ b/lib-src/getopt1.c
@@ -1,8 +1,9 @@
1/* getopt_long and getopt_long_only entry points for GNU getopt. 1/* getopt_long and getopt_long_only entry points for GNU getopt.
2 Copyright (C) 1987,88,89,90,91,92,93,94,96,97 Free Software Foundation, Inc. 2 Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
3 Free Software Foundation, Inc.
3 4
4 NOTE: The canonical source of this file is maintained with the GNU C Library. 5 NOTE: The canonical source of this file is maintained with the GNU C Library.
5 Bugs can be reported to bug-glibc@prep.ai.mit.edu. 6 Bugs can be reported to bug-glibc@gnu.org.
6 7
7 This program is free software; you can redistribute it and/or modify it 8 This program is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the 9 under the terms of the GNU General Public License as published by the
@@ -25,7 +26,7 @@
25 26
26#include "getopt.h" 27#include "getopt.h"
27 28
28#if !defined (__STDC__) || !__STDC__ 29#if !defined __STDC__ || !__STDC__
29/* This is a separate conditional since some stdc systems 30/* This is a separate conditional since some stdc systems
30 reject `defined (const)'. */ 31 reject `defined (const)'. */
31#ifndef const 32#ifndef const
@@ -44,7 +45,7 @@
44 it is simpler to just do this in the source for each such file. */ 45 it is simpler to just do this in the source for each such file. */
45 46
46#define GETOPT_INTERFACE_VERSION 2 47#define GETOPT_INTERFACE_VERSION 2
47#if !defined (_LIBC) && defined (__GLIBC__) && __GLIBC__ >= 2 48#if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2
48#include <gnu-versions.h> 49#include <gnu-versions.h>
49#if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION 50#if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION
50#define ELIDE_CODE 51#define ELIDE_CODE