From: Vivien Delmon Date: Fri, 22 Apr 2011 13:27:02 +0000 (+0200) Subject: gcc 4.6 compatibility: X-Git-Tag: v1.2.0~20 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4895c46e3855ebafb8011e1699e637bc712787d9;p=clitk.git gcc 4.6 compatibility: * ptrdiff_t is in the std namespace --- diff --git a/common/clitkXdrImageIOWriter.cxx b/common/clitkXdrImageIOWriter.cxx index ad34844..a9eb77b 100755 --- a/common/clitkXdrImageIOWriter.cxx +++ b/common/clitkXdrImageIOWriter.cxx @@ -34,7 +34,7 @@ #if !defined(unix) && !defined(__APPLE__) //#define _read readfix #endif -#define AVSINT ptrdiff_t +#define AVSINT std::ptrdiff_t #define AVS_ERROR #define AVS_OK