Changes for linux compatibility

This commit is contained in:
David Anderson
2005-08-02 19:05:51 +00:00
parent d472d5d309
commit 96c9fc8bc8
4 changed files with 14 additions and 5 deletions

View File

@ -629,7 +629,11 @@ SC_FUNC void jmp_eq0(int number);
SC_FUNC void outval(cell val,int newline);
/* function prototypes in SC5.C */
SC_FUNC int error(int number,...);
#ifdef __linux__
SC_FUNC int error(int number,...) __attribute__((visibility("internal")));
#else
SC_FUNC int error(int number,...)
#endif
SC_FUNC void errorset(int code);
/* function prototypes in SC6.C */