Fix getopt for AIX
authorMike Seplowitz <mseplowitz@bloomberg.net>
Tue, 13 Jan 2015 01:53:14 +0000 (20:53 -0500)
committerMike Seplowitz <mseplowitz@bloomberg.net>
Wed, 19 Aug 2015 12:43:59 +0000 (08:43 -0400)
commitcdab57de00ab7ce157f1fdd601ce242588fcadce
treee22fc97286d2766c596108f13ba49d27a30f8c37
parent94c10a6a18ceadf78d27245ce389610c67a7cf2e
Fix getopt for AIX

AIX supplies getopt but not getopt_long.

We can't use the embedded getopt implementation, since the constness of its
arguments doesn't match the AIX system routine.
configure.py
src/getopt.c
src/getopt.h
src/ninja.cc
src/ninja_test.cc