[Scummvm-devel] [Scummvm-cvs-logs] SF.net SVN: scummvm:[38376] scummvm/trunk/engines/sci/gfx/gfx_res_options. cpp

Max Horn max at quendi.de
Mon Feb 16 20:20:09 CET 2009


Am 16.02.2009 um 19:40 schrieb anotherguest at users.sourceforge.net:

> Revision: 38376
>          http://scummvm.svn.sourceforge.net/scummvm/? 
> rev=38376&view=rev
> Author:   anotherguest
> Date:     2009-02-16 18:40:36 +0000 (Mon, 16 Feb 2009)
>
> Log Message:
> -----------
> isblank is not available on all platforms. Needs to be handled in a  
> different way.

Where is it not available? Symbian?

We could simply provide

#define scummvm_isblank(c) ((c) == ' ' || (c) == '\t' || (c) == '\n'  
|| (c) == '\r')

in either a sci specific header, or if other stuff uses it, in  
scummsys.h.

That would on the long run probably be more portable than trying to  
redefine isblank.

Cheers,
Max







More information about the Scummvm-devel mailing list