mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 02:20:42 +02: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:
parent
636fb54ec7
commit
9e5ede1b38
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user