~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/archive/azio.c

Got archive compiling cleanly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#include <string.h>
18
18
#include <assert.h>
19
19
 
 
20
/* TODO: For some reason these aren't showing up cleanly in the 
 
21
 *  * includes... why? 
 
22
 *   */
 
23
#if !defined(pread)
 
24
extern ssize_t pread (int __fd, void *__buf, size_t __nbytes,
 
25
                      off_t __offset);
 
26
#endif
 
27
#if !defined(pwrite)
 
28
extern ssize_t pwrite (int __fd, __const void *__buf, size_t __n,
 
29
                       off_t __offset);
 
30
#endif
 
31
 
20
32
static int const az_magic[3] = {0xfe, 0x03, 0x01}; /* az magic header */
21
33
 
22
34
/* gzip flag uchar */