Restored changes accidentally lost in
gnulib.
Showing
1 changed file
with
14 additions
and
0 deletions
... | @@ -141,6 +141,20 @@ | ... | @@ -141,6 +141,20 @@ |
141 | # define putchar_unlocked(x) putchar (x) | 141 | # define putchar_unlocked(x) putchar (x) |
142 | # endif | 142 | # endif |
143 | 143 | ||
144 | /* GNULIB makes sure both program_invocation_name and | ||
145 | program_invocation_short_name are available */ | ||
146 | #ifdef GNULIB_PROGRAM_INVOCATION_NAME | ||
147 | extern char *program_invocation_name; | ||
148 | # undef HAVE_DECL_PROGRAM_INVOCATION_NAME | ||
149 | # define HAVE_DECL_PROGRAM_INVOCATION_NAME 1 | ||
150 | #endif | ||
151 | |||
152 | #ifdef GNULIB_PROGRAM_INVOCATION_SHORT_NAME | ||
153 | extern char *program_invocation_short_name; | ||
154 | # undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME | ||
155 | # define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 1 | ||
156 | #endif | ||
157 | |||
144 | #endif /* !_LIBC */ | 158 | #endif /* !_LIBC */ |
145 | 159 | ||
146 | #ifndef __set_errno | 160 | #ifndef __set_errno | ... | ... |
-
Please register or sign in to post a comment