2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-17 14:28:02 +00:00
Files
openvswitch/debian
Gurucharan Shetty 9d0581fdf2 getopt_long: Copy over the implementation from netbsd.
Windows does not have a getopt_long function. This commit
copies over the getopt_long implementation from netbsd with
some minor modifications and is used only on Windows platform.

Modifications on top of the version in NetBSD repo.
* Remove header files not available in Visual Studio.
* Remove some unwanted #defines.
* Add Open vSwitch specific header files like config.h, vlog.h, util.h
* Add the following #define's
define __UNCONST(a)    ((void *)(unsigned long)(const void *)(a))
define _DIAGASSERT(q) ovs_assert(q)
define warnx VLOG_WARN
* Add extern declaration in getopt.h for optarg, optind.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
2014-01-27 10:33:45 -08:00
..
2014-01-10 15:25:40 -08:00
2014-01-10 15:25:40 -08:00
2013-12-23 17:19:13 -08:00
2014-01-10 15:25:40 -08:00
2012-06-12 09:40:11 -07:00
2012-10-05 17:55:02 -07:00
2014-01-10 15:25:40 -08:00