On Mon, May 08, 2017 at 10:28:21AM +0200, Max wrote:
I'd like to share my opinion after recent
experience with OpenGGSN. It's very
portable - supports GNU/Linux, SunOS, FreeBSD and even Darwin. And that makes code
into horrible mess of ifdefs which is hard to follow and update.
Are you refering to lib getopt? Look, there's a note that says:
NOTE: getopt is now part of the C library,...
Probably you can kill those getopt.c and getopt1.c files and use
#include <getopt.h>?