[trunk] Rework fseek ifdefs blockers, it breaks the 64bits behavior for fseeko
This commit is contained in:
parent
fcc658f106
commit
fa436eb368
|
@ -56,12 +56,10 @@
|
|||
ftello() only on systems with special LFS support since some systems
|
||||
(e.g. FreeBSD) support a 64-bit off_t by default.
|
||||
*/
|
||||
#if !defined(OPENJPIP_H_) && defined(SERVER) /* server implementation uses fcgi/fseek*/
|
||||
#if defined(OPJ_HAVE_FSEEKO)
|
||||
#if defined(OPJ_HAVE_FSEEKO) && !defined(fseek)
|
||||
# define fseek fseeko
|
||||
# define ftell ftello
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(WIN32) && !defined(Windows95) && !defined(__BORLANDC__) && \
|
||||
|
|
Loading…
Reference in New Issue