On Tue, Sep 6, 2016 at 12:38 PM, Gisle Vanem <gva...@yahoo.no> wrote:
> 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>.

Thanks. I will extend getprogname to detect/use that, when possible.

Reply via email to