Date: Fri, 25 Jun 93 13:02:52 EDT From: DJ Delorie To: peprbv AT cfa0 DOT harvard DOT edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: several questiond from new user > what is happening. I'd like to say > #define getcwd(a,b) #error... > but I don't think that works. Maybe > #define getcwd(a,) (SELECT_ONE_OF | DOS_GETCWD | UNIX_GETCWD) How about: #define getcwd you_must_set_either_DOS_GETCWD_or_UNIX_GETCWD ! One look at the .h after the screen full of error messages: C> gcc test.c test.c: In function `main': test.c:5: `you_must_set_either_DOS_GETCWD_or_UNIX_GETCWD' undeclared (first use this function) test.c:5: parse error before `!' and I think they'll figure it out.