Mercurial > hg > octave-lyh
comparison src/c-file-ptr-stream.h @ 4055:7690958e7726
[project @ 2002-08-18 01:56:58 by jwe]
author | jwe |
---|---|
date | Sun, 18 Aug 2002 01:56:59 +0000 |
parents | e6f67a1ed814 |
children | 6e86256e9c54 |
comparison
equal
deleted
inserted
replaced
4054:ac132116db86 | 4055:7690958e7726 |
---|---|
70 | 70 |
71 c_file_ptr_buf (FILE *f_arg, close_fcn cf_arg = fclose) | 71 c_file_ptr_buf (FILE *f_arg, close_fcn cf_arg = fclose) |
72 : | 72 : |
73 #if defined __GNUC__ && __GNUC__ >= 3 | 73 #if defined __GNUC__ && __GNUC__ >= 3 |
74 OCTAVE_STD_FILEBUF (f_arg, std::ios::in | std::ios::out), | 74 OCTAVE_STD_FILEBUF (f_arg, std::ios::in | std::ios::out), |
75 #elif defined __INTEL_COMPILER | |
76 OCTAVE_STD_FILEBUF (f_arg), | |
75 #else | 77 #else |
76 OCTAVE_STD_FILEBUF (f_arg ? fileno (f_arg) : -1), | 78 OCTAVE_STD_FILEBUF (f_arg ? fileno (f_arg) : -1), |
77 #endif | 79 #endif |
78 f (f_arg), cf (cf_arg), | 80 f (f_arg), cf (cf_arg), |
79 fd (f_arg ? fileno (f_arg) : -1) | 81 fd (f_arg ? fileno (f_arg) : -1) |