Mercurial > hg > octave-lyh > gnulib-hg
changeset 7470:7138ae14facc
Make it possible to #define set_program_name to an alias.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 11 Oct 2006 12:37:31 +0000 |
parents | 2e714b4be02e |
children | 49b97d5983be |
files | ChangeLog lib/progname.c |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-10-10 Bruno Haible <bruno@clisp.org> + + Make it possible to #define set_program_name to an alias. + * lib/progname.c: Don't undefine set_program_name; instead, undefine + ENABLE_RELOCATABLE early. + 2006-10-10 Paul Eggert <eggert@cs.ucla.edu> Port to Tandem NSK OSS, which has 64-bit signed int but at most
--- a/lib/progname.c +++ b/lib/progname.c @@ -20,12 +20,11 @@ #include <config.h> /* Specification. */ +#undef ENABLE_RELOCATABLE /* avoid defining set_program_name as a macro */ #include "progname.h" #include <string.h> -#undef set_program_name - /* String containing name the program is called with. To be initialized by main(). */