From e7f399c2b8fbd8a6fc0424d7f3d821ff84e38168 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 11 Oct 2006 12:37:31 +0000 Subject: [PATCH] Make it possible to #define set_program_name to an alias. --- ChangeLog | 6 ++++++ lib/progname.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f40baa89fd..a266f17ba8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-10-10 Bruno Haible + + 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 Port to Tandem NSK OSS, which has 64-bit signed int but at most diff --git a/lib/progname.c b/lib/progname.c index d3dc8cfabc..df52f60921 100644 --- a/lib/progname.c +++ b/lib/progname.c @@ -20,12 +20,11 @@ #include /* Specification. */ +#undef ENABLE_RELOCATABLE /* avoid defining set_program_name as a macro */ #include "progname.h" #include -#undef set_program_name - /* String containing name the program is called with. To be initialized by main(). */ -- 2.30.2