www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/15/04:03:11

Date: Sun, 14 May 1995 03:22:23 -0300 (ADT)
From: Bill Davidson <bdavidson AT ra DOT isisnet DOT com>
Subject: Re: pause() function?
To: Aaron Ucko <UCKO AT VAX1 DOT ROCKHURST DOT EDU>
Cc: jess AT dlep1 DOT itg DOT ti DOT com, djgpp AT sun DOT soe DOT clarkson DOT edu


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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019