diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/sunos4-1.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/s/sunos4-1.h b/src/s/sunos4-1.h index 241024249a8..2104e87cf6a 100644 --- a/src/s/sunos4-1.h +++ b/src/s/sunos4-1.h | |||
| @@ -39,3 +39,13 @@ | |||
| 39 | /* Tell GNU malloc to compensate for a bug in localtime. */ | 39 | /* Tell GNU malloc to compensate for a bug in localtime. */ |
| 40 | #define SUNOS_LOCALTIME_BUG | 40 | #define SUNOS_LOCALTIME_BUG |
| 41 | #endif | 41 | #endif |
| 42 | |||
| 43 | /* This is for compilation with acc. It works with -Xt but not with -Xs. | ||
| 44 | Note you will need to specify a -L option so that -lansi gets found. | ||
| 45 | The precise -L option you need depends on the compiler version | ||
| 46 | so we cannot specify it here. */ | ||
| 47 | #ifndef __GNUC__ | ||
| 48 | #ifdef __STDC__ | ||
| 49 | #define LIB_STANDARD -u _fix_libc_ -lansi -lc | ||
| 50 | #endif | ||
| 51 | #endif | ||