Mail Archives: djgpp-workers/1996/10/04/05:00:33
On Fri, 4 Oct 1996, Robert Hoehne wrote:
> > `gettext' is not called by Fileutils, a global definition on config.h
> That's not correct. The 'dir' or 'ls' utils use the conio functions, which
> result in a 'duplicate symbol' when linking, because the conio
> gettext() function is not in a single file.
No, I didn't mean that. I meant to say that since the source of Fileutils
doesn't call `gettext' from `conio' explicitly anywhere, you can use the
#define solution (which is only known at compile time). If the
DOS-specific sources used with Fileutils were to call `gettext' from
`conio', you wouldn't be able to use a global definition of GNU `gettext',
since it would then also affect the calls to `gettext' from `conio'.
Sorry for not being clear enough.
- Raw text -