mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
initial illumos port
This commit is contained in:
parent
3c14b8b5ce
commit
468d576030
48 changed files with 117 additions and 71 deletions
|
|
@ -111,7 +111,7 @@ struct passwd {
|
|||
#include <shadow.h>
|
||||
#define getpwnam getspnam
|
||||
#endif
|
||||
#if !(defined(_AIX) || defined(hpux))
|
||||
#if !(defined(_AIX) || defined(hpux) || defined(sun))
|
||||
# define srandom srand
|
||||
# define random rand
|
||||
# define MAXRAND (32767.0)
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
#include "dtscreen.h"
|
||||
|
||||
#if !defined(_AIX) && !defined(hpV4) && !defined(linux) && !defined(CSRG_BASED)
|
||||
#if !defined(_AIX) && !defined(hpV4) && !defined(linux) && !defined(sun) && !defined(CSRG_BASED)
|
||||
int
|
||||
usleep(unsigned long usec)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ typedef struct {
|
|||
int size[MAXCOLORS];
|
||||
} wormstruct;
|
||||
|
||||
#if !defined(CSRG_BASED)
|
||||
#if !defined(CSRG_BASED) && !defined(sun)
|
||||
int
|
||||
round(x)
|
||||
float x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue