Changeset 1150 for trunk/gsdl/lib/fileutil.cpp
- Timestamp:
- 2000-05-04T20:32:31+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/lib/fileutil.cpp
r1076 r1150 28 28 /* 29 29 $Log$ 30 Revision 1.15 2000/05/04 08:27:28 sjboddie 31 modifications for windows ports of GCC 32 30 33 Revision 1.14 2000/04/06 19:57:59 cs025 31 34 Correcting a correction - reinstated all lib files due to silly … … 168 171 } 169 172 170 #if defined __WIN32__173 #if defined(__WIN32__) && !defined(__GNUC__) 171 174 172 175 #include <windows.h> 173 176 174 BOOLread_dir (const text_t &dirname, text_tarray &filelist) {177 bool read_dir (const text_t &dirname, text_tarray &filelist) { 175 178 176 179 WIN32_FIND_DATA FileData; 177 180 HANDLE hSearch; 178 DWORD dwAttrs;179 181 char *dirpath = dirname.getcstr(); 180 182 strcat (dirpath, "\\*"); 181 182 BOOL finished = false;183 183 184 184 hSearch = FindFirstFile(dirpath, &FileData);
Note:
See TracChangeset
for help on using the changeset viewer.