mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 10:04:39 +01:00
pccompile for eiger server
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@768 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@@ -295,8 +295,10 @@ void swapData(void* val,int length,intType itype){
|
|||||||
}
|
}
|
||||||
|
|
||||||
int sendData(int file_des, void* buf,int length, intType itype){
|
int sendData(int file_des, void* buf,int length, intType itype){
|
||||||
|
#ifndef PCCOMPILE
|
||||||
#ifdef EIGERD
|
#ifdef EIGERD
|
||||||
swapData(buf, length, itype);
|
swapData(buf, length, itype);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
return sendDataOnly(file_des, buf, length);
|
return sendDataOnly(file_des, buf, length);
|
||||||
}
|
}
|
||||||
@@ -304,8 +306,10 @@ int sendData(int file_des, void* buf,int length, intType itype){
|
|||||||
|
|
||||||
int receiveData(int file_des, void* buf,int length, intType itype){
|
int receiveData(int file_des, void* buf,int length, intType itype){
|
||||||
int ret = receiveDataOnly(file_des, buf, length);
|
int ret = receiveDataOnly(file_des, buf, length);
|
||||||
|
#ifndef PCCOMPILE
|
||||||
#ifdef EIGERD
|
#ifdef EIGERD
|
||||||
swapData(buf, length, itype);
|
swapData(buf, length, itype);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user