From 1c7f79dd029bfbcb48a4deda48fe234731b1d784 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Thu, 20 Feb 1992 13:04:29 +0000 Subject: [PATCH] added ifdef vxWorks --- src/libCom/calc/calcPerform.c | 9 ++++++++- src/libCom/calcPerform.c | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/libCom/calc/calcPerform.c b/src/libCom/calc/calcPerform.c index 2c50bdd30..52fcb1759 100644 --- a/src/libCom/calc/calcPerform.c +++ b/src/libCom/calc/calcPerform.c @@ -57,6 +57,7 @@ * .21 12-14-90 lrd fixed post events for the variables * .22 03-15-91 mrk moved code from calcRecord to here * .23 08-01-91 rac don't use FETCH_G ... for V2 + * .24 02-20-92 rcz fixed for vxWorks build */ /* This module contains the code for processing the arithmetic @@ -83,7 +84,13 @@ * double value between 0.00 and 1.00 */ -#include +#ifdef vxWorks +# include +extern int printf(); +#else +# include +#endif + #include #include #include diff --git a/src/libCom/calcPerform.c b/src/libCom/calcPerform.c index 2c50bdd30..52fcb1759 100644 --- a/src/libCom/calcPerform.c +++ b/src/libCom/calcPerform.c @@ -57,6 +57,7 @@ * .21 12-14-90 lrd fixed post events for the variables * .22 03-15-91 mrk moved code from calcRecord to here * .23 08-01-91 rac don't use FETCH_G ... for V2 + * .24 02-20-92 rcz fixed for vxWorks build */ /* This module contains the code for processing the arithmetic @@ -83,7 +84,13 @@ * double value between 0.00 and 1.00 */ -#include +#ifdef vxWorks +# include +extern int printf(); +#else +# include +#endif + #include #include #include