Rev 6536 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6536 | Rev 6627 | ||
---|---|---|---|
Line 261... | Line 261... | ||
261 | * orientation. If o < 0, the stream has byte-orientation. |
261 | * orientation. If o < 0, the stream has byte-orientation. |
262 | */ |
262 | */ |
263 | #define ORIENT(fp,ori) \ |
263 | #define ORIENT(fp,ori) \ |
264 | do \ |
264 | do \ |
265 | { \ |
265 | { \ |
266 | if (!((fp)->_flags & __SORD)) \ |
- | |
267 | { \ |
- | |
268 | (fp)->_flags |= __SORD; \ |
266 | (fp)->_flags |= __SORD; \ |
269 | if (ori > 0) \ |
267 | if (ori > 0) \ |
270 | (fp)->_flags2 |= __SWID; \ |
268 | (fp)->_flags2 |= __SWID; \ |
271 | else \ |
269 | else \ |
272 | (fp)->_flags2 &= ~__SWID; \ |
270 | (fp)->_flags2 &= ~__SWID; \ |
273 | } \ |
271 | } \ |
274 | } \ |
- | |
275 | while (0) |
272 | while (0) |
276 | #else |
273 | #else |
277 | #define ORIENT(fp,ori) |
274 | #define ORIENT(fp,ori) |
278 | #endif |
275 | #endif |