Ignore:
Timestamp:
2000-05-04T20:32:31+12:00 (24 years ago)
Author:
sjboddie
Message:

modifications for windows ports of GCC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/lib/fileutil.cpp

    r1076 r1150  
    2828/*
    2929   $Log$
     30   Revision 1.15  2000/05/04 08:27:28  sjboddie
     31   modifications for windows ports of GCC
     32
    3033   Revision 1.14  2000/04/06 19:57:59  cs025
    3134   Correcting a correction - reinstated all lib files due to silly
     
    168171}
    169172
    170 #if defined __WIN32__
     173#if defined(__WIN32__) && !defined(__GNUC__)
    171174
    172175#include <windows.h>
    173176
    174 BOOL read_dir (const text_t &dirname, text_tarray &filelist) {
     177bool read_dir (const text_t &dirname, text_tarray &filelist) {
    175178 
    176179  WIN32_FIND_DATA FileData; 
    177180  HANDLE hSearch;
    178   DWORD dwAttrs;
    179181  char *dirpath = dirname.getcstr();
    180182  strcat (dirpath, "\\*");
    181 
    182   BOOL finished = false;
    183183 
    184184  hSearch = FindFirstFile(dirpath, &FileData);
Note: See TracChangeset for help on using the changeset viewer.