Fixed use of 64 bit I/O APIs

This commit is contained in:
Gianluca Bertani
2013-06-18 23:22:59 +02:00
parent 7c0f2a7a07
commit e8b715640e
2 changed files with 15 additions and 8 deletions
+1 -5
View File
@@ -21,7 +21,7 @@
#ifndef _ZLIBIOAPI64_H
#define _ZLIBIOAPI64_H
#if (!defined(_WIN32)) && (!defined(WIN32))
#if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__))
// Linux needs this to support file operation on files larger then 4+GB
// But might need better if/def to select just the platforms that needs them.
@@ -44,10 +44,6 @@
#include <stdlib.h>
#include "zlib.h"
#ifdef __APPLE__
# define USE_FILE32API
#endif
#if defined(USE_FILE32API)
#define fopen64 fopen
#define ftello64 ftell