Jim Meyering wrote: > From the output of that mingw configure run, it appears they are not > declared -- at least not in any header included by this particular > test program: > > checking whether program_invocation_name is declared... no > checking whether program_invocation_short_name is declared... no
There are other options; both MinGW and MSVC have: extern char** __argv; in their <stdlib.h>. -- --gv