projects
/
drnoksnes
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
workaround a problem with the harmattan gcc
[drnoksnes]
/
ioapi.c
diff --git
a/ioapi.c
b/ioapi.c
index
f1bee23
..
58504a9
100644
(file)
--- a/
ioapi.c
+++ b/
ioapi.c
@@
-9,26
+9,10
@@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <zlib.h>
-#include "zlib.h"
#include "ioapi.h"
#include "ioapi.h"
-
-
-/* I've found an old Unix (a SunOS 4.1.3_U1) without all SEEK_* defined.... */
-
-#ifndef SEEK_CUR
-#define SEEK_CUR 1
-#endif
-
-#ifndef SEEK_END
-#define SEEK_END 2
-#endif
-
-#ifndef SEEK_SET
-#define SEEK_SET 0
-#endif
-
voidpf ZCALLBACK fopen_file_func OF((
voidpf opaque,
const char* filename,
voidpf ZCALLBACK fopen_file_func OF((
voidpf opaque,
const char* filename,