mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
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:
parent
43bae997c8
commit
71f3ed16f8
5 changed files with 9 additions and 5 deletions
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
#include "dtscreen.h"
|
||||
|
||||
#if !defined(_AIX) && !defined(hpV4) && !defined(linux)
|
||||
#if !defined(_AIX) && !defined(hpV4) && !defined(linux) && !defined(CSRG_BASED)
|
||||
int
|
||||
usleep(unsigned long usec)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue