]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
IPAL21988 WinTC5.1.4: Mesh data is not restored when study saved on linux station...
authordmv <dmv@opencascade.com>
Fri, 17 Sep 2010 08:35:02 +0000 (08:35 +0000)
committerdmv <dmv@opencascade.com>
Fri, 17 Sep 2010 08:35:02 +0000 (08:35 +0000)
src/HDFPersist/HDFdatasetRead.c

index 843f2d7178414bb72f22ed8896fa91953f4e3760..e3dc6b13aa0a796f9d2e58d0a5f0624019a2bcae 100644 (file)
@@ -46,10 +46,10 @@ hdf_err HDFdatasetRead(hdf_idt id, void *val)
   if ((datatype = H5Dget_type(id)) < 0)
     return -1;
 
-#if defined (PCLINUX) || defined (PCLINUX64)
+//#if defined (PCLINUX) || defined (PCLINUX64)
   if ((H5Tget_class(datatype) == H5T_INTEGER) && (H5Tget_size(datatype) == 4)) 
     datatype = H5T_NATIVE_INT;
-#endif 
+//#endif 
 
   if ((ret = H5Dread(id,datatype,H5S_ALL,H5S_ALL,H5P_DEFAULT, val)) < 0)
     return -1;