For solaris-sparc (SUNWspro) compatibility.

This commit is contained in:
Ron Sluiter
2007-04-04 19:27:34 +00:00
parent 54527b0def
commit 1aa7531a47
3 changed files with 6 additions and 2 deletions
+1
View File
@@ -20,6 +20,7 @@ motorSimSupport_SRCS += devMotorSim.c
motorSimSupport_SRCS += drvMotorSim.c
motorSimSupport_SRCS += motorSimRegister.cc
motorSimSupport_LIBS += motor
motorSimSupport_LIBS += $(EPICS_BASE_IOC_LIBS)
#=============================
+4 -2
View File
@@ -592,7 +592,8 @@ STATIC int send_recv_mess(int card, char const *send_com, char *recv_com, char c
if (status != asynSuccess)
{
Debug(3, "send_recv_mess(): ERROR - staus =%d, nread = %d\n", (int) status, nread);
int int_status = (int) status;
Debug(3, "send_recv_mess(): ERROR - staus =%d, nread = %d\n", int_status, nread);
recv_com[0] = '\0';
return(MESS_ERR);
}
@@ -723,9 +724,10 @@ STATIC int recv_mess(int card, char *com, int flag)
if (status != asynSuccess)
{
int int_status = (int) status;
com[0] = '\0';
rtnValue = MESS_ERR;
Debug(3, "recv_mess(): ERROR - staus =%d, nread = %d\n", (int) status, nread);
Debug(3, "recv_mess(): ERROR - staus =%d, nread = %d\n", int_status, nread);
}
else
{
+1
View File
@@ -28,6 +28,7 @@ SRCS += devMAXv.cc drvMAXv.cc
SRCS += devOmsCom.cc
oms_LIBS += motor
oms_LIBS += asyn
oms_LIBS += $(EPICS_BASE_IOC_LIBS)
include $(TOP)/configure/RULES