mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 05:00:38 +00:00
Put RINT defs in config.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13420 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
31869f6fd6
commit
37f98cebdf
5 changed files with 29 additions and 18 deletions
|
@ -53,17 +53,6 @@
|
|||
/* Cache */
|
||||
static float scrollerWidth; // == [NSScroller scrollerWidth]
|
||||
|
||||
#ifndef HAVE_RINTF
|
||||
#define rintf rint
|
||||
#endif
|
||||
#ifndef HAVE_RINT
|
||||
static double rint(double a)
|
||||
{
|
||||
return (floor(a+0.5));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#define NSBR_COLUMN_SEP 6
|
||||
#define NSBR_VOFFSET 2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue