comparison src/s/sol2.h @ 98:0d2f883870bc r20-1b1

Import from CVS: tag r20-1b1
author cvs
date Mon, 13 Aug 2007 09:13:56 +0200
parents 54cc21c15cbb
children 538048ae2ab8
comparison
equal deleted inserted replaced
97:498bf5da1c90 98:0d2f883870bc
39 39
40 #ifndef NOT_C_CODE 40 #ifndef NOT_C_CODE
41 /* The standard Solaris library nsl has this function in it which is 41 /* The standard Solaris library nsl has this function in it which is
42 supposed to only be in the BSD compat stuff. Yuck. Of course, 42 supposed to only be in the BSD compat stuff. Yuck. Of course,
43 there isn't a prototype for it other than in /usr/ucbinclude. */ 43 there isn't a prototype for it other than in /usr/ucbinclude. */
44 int gethostname (char *, int); 44 int gethostname (char *, size_t);
45 45
46 /* Get non-ANSI functions from ANSI header files in cc -Xc mode. 46 /* Get non-ANSI functions from ANSI header files in cc -Xc mode.
47 Sun has promised to fix setjmp.h */ 47 Sun has promised to fix setjmp.h */
48 #if __STDC__ == 1 48 #if __STDC__ == 1
49 #ifndef __GNUC__ 49 #ifndef __GNUC__