OpenIndiana and Solaris port
This commit is contained in:
committed by
Jon Trulson
parent
42e891d9e7
commit
01d6c363fa
@@ -11,6 +11,7 @@ XCOMM $XConsortium: Imakefile /main/4 1996/04/21 19:12:37 drk $
|
||||
|
||||
#include "../tooltalk.tmpl"
|
||||
|
||||
DEPEND_DEFINES = $(DEPENDDEFINES)
|
||||
INCLUDES = -I.
|
||||
|
||||
SRCS = isaddindex.c isamaddindex.c isopen.c isamopen.c \
|
||||
|
||||
@@ -39,7 +39,7 @@ static char sccsid[] = "@(#)iscntl.c 1.8 94/11/17";
|
||||
* Generic control function
|
||||
*/
|
||||
|
||||
#if defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(linux) || defined(CSRG_BASED) || defined(sun)
|
||||
#include <stdarg.h>
|
||||
#else
|
||||
#include <varargs.h>
|
||||
@@ -79,7 +79,7 @@ static char sccsid[] = "@(#)iscntl.c 1.8 94/11/17";
|
||||
|
||||
typedef int (* intfunc)();
|
||||
|
||||
#if defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(linux) || defined(CSRG_BASED) || defined(sun)
|
||||
int
|
||||
iscntl(int isfd, int func, ...)
|
||||
#else
|
||||
@@ -94,7 +94,7 @@ iscntl(isfd, func, va_alist)
|
||||
va_list pvar;
|
||||
int ret;
|
||||
|
||||
#if defined(linux) || defined(CSRG_BASED)
|
||||
#if defined(linux) || defined(CSRG_BASED) || defined(sun)
|
||||
va_start(pvar, func);
|
||||
#else
|
||||
va_start(pvar);
|
||||
|
||||
Reference in New Issue
Block a user