[Uml-devel] kdesdk/umbrello/umbrello

Jens Krüger jkrueger1 at users.sourceforge.net
Wed Mar 19 07:58:09 UTC 2003


There exists a better way. Define a macro like the following dependend on 
existence of a round function in the math lib.

#define round(x) (int(x + 0.5))

Jens

Am Mittwoch, 19. März 2003 16:25 schrieb Jonathan Riddell:
> CVS commit by jriddell:
>
> Removed use of round() function, which is only defined in C99 and doesn't
> compile with gcc 2.95
>
>

-- 
Jens




More information about the umbrello-devel mailing list