Changeset 4285 for zzuf/trunk/src/libzzuf/lib-stream.c
- Timestamp:
- Jan 20, 2010, 8:59:01 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/src/libzzuf/lib-stream.c
r4260 r4285 171 171 #elif defined HAVE_FREEBSD_FILE 172 172 return (uint8_t *)stream->_p; 173 #elif defined HAVE_SOLARIS_FILE 174 return (uint8_t *)stream->_ptr; 173 175 #else 174 176 (void)stream; … … 184 186 #elif defined HAVE_FREEBSD_FILE 185 187 return (int)((uint8_t *)stream->_p - (uint8_t *)stream->_bf._base); 188 #elif defined HAVE_SOLARIS_FILE 189 return (int)((uint8_t *)stream->_ptr - (uint8_t *)stream->_base); 186 190 #else 187 191 (void)stream; … … 197 201 #elif defined HAVE_FREEBSD_FILE 198 202 return stream->_r; 203 #elif defined HAVE_SOLARIS_FILE 204 return stream->_cnt; 199 205 #else 200 206 (void)stream;
Note: See TracChangeset
for help on using the changeset viewer.