]> Creatis software - gdcm.git/blobdiff - src/gdcmDirList.cxx
Doxygenation
[gdcm.git] / src / gdcmDirList.cxx
index 938dbb3fb948af4b9e65da419ad48bc8110a64c9..ca5c5fa1fc38b1ffae0ff13dfb870f56d4e5e087 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDirList.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/11/16 10:25:53 $
-  Version:   $Revision: 1.27 $
+  Date:      $Date: 2004/12/12 13:32:23 $
+  Version:   $Revision: 1.29 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -22,9 +22,9 @@
 #include <iostream>
 #include <algorithm>
 
-#if defined(_MSC_VER) || defined (__CYGWIN__) || defined(__BORLANDC__)
+#if defined(_MSC_VER) || defined(__BORLANDC__)
    #include <windows.h> 
-#if defined _MSC_VER || defined(__BORLANDC__)
+#ifdef _MSC_VER
    #include <direct.h>
 #endif //_MSC_VER
 #else
@@ -90,7 +90,7 @@ int DirList::Explore(std::string const & dirpath, bool recursive)
    int numberOfFiles = 0;
    std::string fileName;
    std::string dirName = Util::NormalizePath(dirpath);
-#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__BORLANDC__)
+#if defined(_MSC_VER) || defined(__BORLANDC__)
    WIN32_FIND_DATA fileData; 
    HANDLE hFile=FindFirstFile((dirName+"*").c_str(),&fileData);
    int found = true;