]> Creatis software - clitk.git/blobdiff - common/clitkCommon.h
_WIN32 is always defined and WIN32 maybe isn't, see
[clitk.git] / common / clitkCommon.h
index 11a6255955e8b2185c25b49334bd64158d58a8dc..9eb36522004c172b9cfa6d8bb209f45821cb02f5 100644 (file)
 #if defined(unix) || defined(__APPLE__)
 #  include <sys/time.h>
 #  include <sys/resource.h>
-#elif defined(WIN32)
+#elif defined(_WIN32)
 #  include <windows.h>
 #endif
 
-#if ITK_VERSION_MAJOR < 4
-namespace itk
-{
-  typedef unsigned int ThreadIdType;
-}
-#endif
-
 //--------------------------------------------------------------------
 namespace clitk {