# HG changeset patch # User Richard M. Stallman # Date 770099615 0 # Node ID 79342f44134d6ae1dc2281891b0a606e086db0a4 # Parent f90c3d5352e9e32a6e2049404a227613819d31c5 (LIB_STANDARD): Add -u and -lansi options. diff -r f90c3d5352e9 -r 79342f44134d src/s/sunos4-1.h --- a/src/s/sunos4-1.h Sat May 28 04:32:32 1994 +0000 +++ b/src/s/sunos4-1.h Sat May 28 04:33:35 1994 +0000 @@ -39,3 +39,13 @@ /* Tell GNU malloc to compensate for a bug in localtime. */ #define SUNOS_LOCALTIME_BUG #endif + +/* This is for compilation with acc. It works with -Xt but not with -Xs. + Note you will need to specify a -L option so that -lansi gets found. + The precise -L option you need depends on the compiler version + so we cannot specify it here. */ +#ifndef __GNUC__ +#ifdef __STDC__ +#define LIB_STANDARD -u _fix_libc_ -lansi -lc +#endif +#endif