Changeset 2468 for trunk/gsdl/src/mgpp/text/FileBuf.cpp
- Timestamp:
- 2001-05-24T17:06:48+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/mgpp/text/FileBuf.cpp
r855 r2468 18 18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 19 * 20 * $Id$21 *22 20 **************************************************************************/ 23 21 … … 25 23 #include "sysfuncs.h" 26 24 25 #ifdef __WIN32__ 26 # include <io.h> 27 # define read _read 28 #endif 27 29 28 30 bool FileBuf::NextBuf () { 29 31 if (fd < 0) return false; 30 31 32 int numbytes = read (fd, buf, FILEBUFSIZE); 32 33 if (numbytes < 0) numbytes = 0;
Note:
See TracChangeset
for help on using the changeset viewer.