]> Creatis software - clitk.git/blobdiff - common/clitkTimer.h
Mathieu Malaterre :
[clitk.git] / common / clitkTimer.h
index 5f27490f6613a475dbbef36088db9baef3607840..29aca6614ec8cdeeac41d57be907b030a5c96360 100644 (file)
 ======================================================================-====*/
 #ifndef CLITKTIMER_H
 #define CLITKTIMER_H
-/**
-   ===================================================================
-   * @file   clitkTimer.h
-   * @author David Sarrut <David.Sarrut@creatis.insa-lyon.fr>
-   * @date   18 Jul 2007 16:26:08
 
-   * @brief  
-
-   ===================================================================*/
-
-#include "clitkCommon.h"
+//#include "clitkCommon.h"
 #include <ctime> 
-#if defined(unix)
+#if defined(unix) || defined(__APPLE__)
 #  include <sys/time.h>
 #  include <sys/resource.h>
 #elif defined(WIN32)
@@ -59,7 +50,7 @@ namespace clitk {
     //====================================================================
     
   protected:
-#if defined(unix)
+#if defined(unix) || defined(__APPLE__)
     rusage mBegin; 
     rusage mEnd;
 #elif defined(WIN32)