Make program_invocation_name a macro.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-01-13 02:55:36 +01:00
parent 03ab6cf26e
commit 133e5d4410
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ __BEGIN_DECLS
extern char* program_invocation_name;
extern char* program_invocation_short_name;
/* Satisfy broken programs that expect these to be macros. */
#define program_invocation_name program_invocation_name
#define program_invocation_short_name program_invocation_short_name
__END_DECLS
#endif