tools: drop getopt vs getopt_long differentiation
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 13 Jul 2020 02:28:43 +0000 (12:28 +1000)
committerRan Benita <ran@unusedvar.com>
Sat, 25 Jul 2020 08:05:14 +0000 (11:05 +0300)
commit449ed2b8e83121ac8c322f15ca494ee7e4c4331a
treed9a9b7e0f17b786ceec2d1fee5357754eae5a281
parent7d36a3d119826d80e48f397eb070a798f641423e
tools: drop getopt vs getopt_long differentiation

On all platforms we build on where getopt.h is available, getopt_long is also
available. Only Windows doesn't have either but that's no reason for us to
differentiate between the two.

If we need to special-case getopt vs getopt_long, it's probably better to
implement our own cross-platform version of it and use that.

Fixes #161

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
meson.build
tools/xkbcli.c