From beeaf73d994a1bff05ec8f20848e39c56b204693 Mon Sep 17 00:00:00 2001 From: Romain Garrigues <romain.garrigues@c-s.fr> Date: Tue, 29 Aug 2006 08:26:49 +0000 Subject: [PATCH] =?UTF-8?q?Modifications=20pour=20la=20compatibilit=C3=A9?= =?UTF-8?q?=20du=20code=20avec=20Cygwin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Code/Common/otbSystem.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Code/Common/otbSystem.cxx b/Code/Common/otbSystem.cxx index 0ffe5c01e0..068a84a86d 100755 --- a/Code/Common/otbSystem.cxx +++ b/Code/Common/otbSystem.cxx @@ -20,7 +20,8 @@ #include <string.h> // strdup -#if defined(WIN32) || defined(WIN32CE) + +#if (defined(WIN32) || defined(WIN32CE)) && !defined(__CYGWIN__) /*===================================================================== WIN32 / MSVC++ implementation *====================================================================*/ @@ -103,7 +104,7 @@ System::GetShortFileName( const std::string& filename ) return( shortFileName ); } -#if defined(WIN32) || defined(WIN32CE) +#if (defined(WIN32) || defined(WIN32CE)) && !defined(__CYGWIN__) /*===================================================================== WIN32 / MSVC++ implementation -- GitLab