w32: Provide getopt() for Visual Studio
authorRon Koenderink <rkoenderink@gmail.com>
Tue, 19 Jan 2021 18:48:23 +0000 (12:48 -0600)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 13 Feb 2021 18:25:18 +0000 (19:25 +0100)
commit8447fc1cd285284aa3f3ab8540c8ded6109e729f
treefd4f7c33b513f493ab805e6428b143061a2d1a4c
parenta164390d1fffb43a0bf5a321a2ea03e92ed6cdeb
w32: Provide getopt() for Visual Studio

getopt() does not exist in the Visual Studio 2019 CRT.  Provide one.

Signed-off-by: Ron Koenderink <rkoenderink@gmail.com
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
Make.mk
src/client/Makefile.in
src/lib/w32/getopt.c [new file with mode: 0644]
src/lib/w32/unistd.h