Re: ResizeWindow causes compile error in Darwin

Brian Paul <[email protected]> Tue, 11 Jan 2005 15:05:22 -0700
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
Christopher Waters wrote:
> A function called ResizeWindow was recently created in both 
> spu/readbackspu.c and spu/binaryswapspu.c
> This causes a compile error on Darwin because of a function of the same 
> name declared in one of the system headers included.
> 
> I changed all instances of ResizeWindow to WindowResize in the files on 
> my system, and it fixed the problem.  Now, does anyone know if -this- 
> would conflict with anything on the other platforms? ;)

How about just prefixing the functions with "readbackspu" and 
"binaryswapspu"?  Feel free to check in a fix.

-Brian



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt