Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: using standard interfaces Message-ID: <1988Sep17.211053.8712@utzoo.uucp> Organization: U of Toronto Zoology References: <485.231DAAC3@stjhmc.fidonet.org> <725@proxftl.UUCP> <7076@bloom-beacon.MIT.EDU> <33391@cca.CCA.COM> Date: Sat, 17 Sep 88 21:10:53 GMT In article <33391@cca.CCA.COM> g-rh@CCA.CCA.COM (Richard Harter) writes: >This sounds good, but there is a problem to take into account. If >you have your own routine with the same name as the "standard" >routine there is the potential for problems when you port into >a system that has the "standard" routine in its library... This just means that inclusion of the routine in question must be optional, so it can be disabled on such systems. No big deal. Possibly the best way to do this is to #ifdef the user-supplied routine, so that an explicit -D option (or whatever) is required to use it. -- NASA is into artificial | Henry Spencer at U of Toronto Zoology stupidity. - Jerry Pournelle | uunet!attcan!utzoo!henry henry@zoo.toronto.edu