Commit b9e5dd7d authored by Stephan Binner's avatar Stephan Binner
Browse files

Solaris' math.h does not know double round(double).

Patch by "John Talbot" <zarf@nortelnetworks.com>

svn path=/trunk/kdebase/konsole/; revision=213616
parent c156e62f
......@@ -85,6 +85,10 @@
#define loc(X,Y) ((Y)*columns+(X))
#endif
#ifndef round
#define round(a) ((a)>0 ? (int)((a)+0.5) : -(int)(0.5-(a)))
#endif
//FIXME: the rim should normally be 1, 0 only when running in full screen mode.
#define rimX 0 // left/right rim width
#define rimY 0 // top/bottom rim high
......@@ -96,7 +100,7 @@
#define REPCHAR "ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
"abcdefgjijklmnopqrstuvwxyz" \
"0123456789./+@"
// scroll increment used when dragging selection at top/bottom of window.
// static
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment