[trunk] Rework fseek ifdefs blockers, it breaks the 64bits behavior for fseeko

This commit is contained in:
Mathieu Malaterre 2014-03-11 10:27:01 +00:00
parent fcc658f106
commit fa436eb368
1 changed files with 1 additions and 3 deletions

View File

@ -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__) && \