From b04887513f9f1ddbe509ec67f3dd812612f135a5 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 26 Sep 2001 14:32:49 +0000 Subject: Ready to ship. svn path=/trunk/; revision=3491 --- options.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'options.c') diff --git a/options.c b/options.c index cfe74bbd..c51e9d72 100644 --- a/options.c +++ b/options.c @@ -276,9 +276,13 @@ struct query *ctl; /* option record to be initialized */ ctl->smtp_socket = -1; while (!errflag && +#ifdef HAVE_GETOPTLONG (c = getopt_long(argc,argv,shortoptions, - longoptions,&option_index)) != -1) { - + longoptions, &option_index)) != -1) +#else + (c = getopt(argc, argv, shortoptions)) != -1) +#endif + { switch (c) { case 'V': case LA_VERSION: -- cgit v1.2.3