--- freem/src/expr.c 2025/03/22 04:47:18 1.8 +++ freem/src/expr.c 2025/03/24 01:32:22 1.9 @@ -1,5 +1,5 @@ /* - * $Id: expr.c,v 1.8 2025/03/22 04:47:18 snw Exp $ + * $Id: expr.c,v 1.9 2025/03/24 01:32:22 snw Exp $ * expression parser * * @@ -24,6 +24,9 @@ * along with FreeM. If not, see . * * $Log: expr.c,v $ + * Revision 1.9 2025/03/24 01:32:22 snw + * Guard declaration of time function in expr.c for portability + * * Revision 1.8 2025/03/22 04:47:18 snw * Silently truncate long names in STRING exprs when evaluates to an obsolete MDC standard * @@ -138,7 +141,7 @@ #define GET 'Y' #define GETX ':' -#if !defined(__OpenBSD__) && !defined(_AIX) && !defined(__osf__) && !defined(MSDOS) && !defined(__vax__) +#if !defined(__OpenBSD__) && !defined(_AIX) && !defined(__osf__) && !defined(MSDOS) && !defined(__vax__) && !defined(__OS2__) long time (); #endif void cond_round (char *a, int digits);