From 133e5d4410dec95eae568b1c8ba933bf1c3dbf8e Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 13 Jan 2013 02:55:36 +0100 Subject: [PATCH] Make program_invocation_name a macro. --- libc/include/errno.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libc/include/errno.h b/libc/include/errno.h index 25958b98..34ff8038 100644 --- a/libc/include/errno.h +++ b/libc/include/errno.h @@ -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