Patches for dtscreen, dtsearchpath, dtsession on OBSD.
Do not redefine round(3), and provide a manpath for OpenBSD. (this is one of the few things that need to be adjusted for other BSDs)
This commit is contained in:
committed by
Jon Trulson
parent
43bae997c8
commit
71f3ed16f8
@@ -88,12 +88,14 @@ typedef struct {
|
||||
int size[MAXCOLORS];
|
||||
} wormstruct;
|
||||
|
||||
#if !defined(CSRG_BASED)
|
||||
int
|
||||
round(x)
|
||||
float x;
|
||||
{
|
||||
return ((int) floor((double) x));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user