portability fixes, will have to better fix the getopt_long

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1227 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.4
Stéphane Fillod, F8CFE 2002-10-31 00:16:17 +00:00
rodzic 49060c0c02
commit d206897abe
3 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -3,4 +3,4 @@ EXTRA_DIST = getopt.c getopt.h getopt_long.c usleep.c
noinst_LTLIBRARIES = libmisc.la
libmisc_la_SOURCES =
libmisc_la_LIBADD = @LIBOBJS@
libmisc_la_LIBADD = @LTLIBOBJS@

Wyświetl plik

@ -644,6 +644,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
}
}
#ifdef GETOPT
int
getopt (argc, argv, optstring)
int argc;
@ -655,6 +656,7 @@ getopt (argc, argv, optstring)
(int *) 0,
0);
}
#endif
#endif /* _LIBC or not __GNU_LIBRARY__. */

Wyświetl plik

@ -174,3 +174,5 @@ main (argc, argv)
}
#endif /* TEST */
#include "getopt.c"