Mail Archives: djgpp/1995/05/15/04:03:11
On Sat, 13 May 1995, Aaron Ucko wrote:
> If you absolutely need to use a different function of the same name,
> then you can do something like this:
>
> #define pause PAUSIX
> #include <djgppstd.h>
> #undef pause
>
> [which makes djgppstd.h declare PAUSIX() rather than pause()].
Be careful here, though. Either put that _first_ in _every_ source file,
or enclose _all_ your #include's that way; some other header files may
include <djgppstd.h> and still mung your pause() definition!
Bill Davidson
bdavidson AT ra DOT isisnet DOT com
- Raw text -