ObjFW  Diff

Differences From Artifact [9a400a86be]:

To Artifact [09e4c069c6]:


10
11
12
13
14
15
16
17
18
19
20

21
22
23
24
25
26
27
10
11
12
13
14
15
16




17
18
19
20
21
22
23
24







-
-
-
-
+







 *
 * Alternatively, it may be distributed under the terms of the GNU General
 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

/* Required to prevent a name conflict in glibc when using -fblocks */
#undef __USE_XOPEN

#include <unistd.h>
#include <sys/types.h>

#import "OFStream.h"

/**
 * \brief A stream that supports seeking.
 *
 * IMPORTANT: If you want to subclass this, override _seekToOffset:,