initial illumos port
This commit is contained in:
committed by
Jon Trulson
parent
3c14b8b5ce
commit
468d576030
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user