summaryrefslogtreecommitdiff
path: root/src/minizip/ioapi.h
diff options
context:
space:
mode:
authorXavier Roche <roche@httrack.com>2023-01-15 11:30:47 +0100
committerXavier Roche <roche@httrack.com>2023-01-15 11:40:19 +0100
commit37c0c19a8cca5883ebcc88d4e27be1b280d59207 (patch)
tree5dda35c7fb74c1ba3f73d673b591fc59f17bd714 /src/minizip/ioapi.h
parent9b7ad3c899d3382b8efecf1496e4bd133c41bc0b (diff)
Fixed build error due to renamed zlib's OF() macro
Closes #246
Diffstat (limited to 'src/minizip/ioapi.h')
-rw-r--r--src/minizip/ioapi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/minizip/ioapi.h b/src/minizip/ioapi.h
index a531284..865ddda 100644
--- a/src/minizip/ioapi.h
+++ b/src/minizip/ioapi.h
@@ -21,6 +21,9 @@
#ifndef _ZLIBIOAPI64_H
#define _ZLIBIOAPI64_H
+#undef OF
+#define OF(x) x
+
#if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__))
// Linux needs this to support file operation on files larger then 4+GB