X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Testing%2FTestInline.cxx;h=e28c473ac29b1343c8e1007e68333969f8cc47a4;hb=2ee201a59464bbbd6d97c04b29746971567439d3;hp=e0811745b8ab5e496af3d0a22a86f8b611c83044;hpb=9d3173d0d197ba7f88920250f957a4deda7d6874;p=gdcm.git diff --git a/Testing/TestInline.cxx b/Testing/TestInline.cxx index e0811745..e28c473a 100755 --- a/Testing/TestInline.cxx +++ b/Testing/TestInline.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestInline.cxx,v $ Language: C++ - Date: $Date: 2005/10/24 10:55:12 $ - Version: $Revision: 1.3 $ + Date: $Date: 2005/10/24 16:01:39 $ + Version: $Revision: 1.6 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -36,6 +36,8 @@ #include #ifdef CMAKE_HAVE_SYS_TIMES_H #include +#else +#include #endif void frswap (double &a, double &b); @@ -55,28 +57,6 @@ double passDirect(double a, double b); double passRef(double &a, double &b); double passPtr(double *a, double *b); -/* -//To perform a full check, just put the two 'static' functions -//hifpswap and hNoifpswap in a .h - - static inline void hifpswap(double *a, double *b) - { - double tmp; - tmp = *a; - *a = *b; - *b = tmp; - } - - static void hNoifpswap(double *a, double *b) - { - double tmp; - tmp = *a; - *a = *b; - *b = tmp; - } - -*/ - #define \ mswap(a, b) \ { \