1
0
Fork 0
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:
Peter Tribble 2014-03-21 16:37:00 -07:00 committed by Jon Trulson
parent 3c14b8b5ce
commit 468d576030
48 changed files with 117 additions and 71 deletions

View file

@ -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)

View file

@ -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)
{

View file

@ -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;