mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
16 lines
492 B
Plaintext
16 lines
492 B
Plaintext
|
diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/routines/xsci/x_misc.c ./routines/xsci/x_misc.c
|
||
|
*** /usr/LOCAL/scilab2.3/work/scilab-2.3/routines/xsci/x_misc.c Mon May 12 16:34:23 1997
|
||
|
--- ./routines/xsci/x_misc.c Fri May 16 20:29:07 1997
|
||
|
***************
|
||
|
*** 507,513 ****
|
||
|
--- 507,515 ----
|
||
|
char *SysErrorMsg(n)
|
||
|
int n;
|
||
|
{
|
||
|
+ #ifndef __FreeBSD__
|
||
|
extern char *sys_errlist[];
|
||
|
+ #endif
|
||
|
extern int sys_nerr;
|
||
|
|
||
|
return ((n >= 0 && n < sys_nerr) ? sys_errlist[n] : "unknown error");
|