[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
|
ftello() only on systems with special LFS support since some systems
|
||||||
(e.g. FreeBSD) support a 64-bit off_t by default.
|
(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) && !defined(fseek)
|
||||||
#if defined(OPJ_HAVE_FSEEKO)
|
|
||||||
# define fseek fseeko
|
# define fseek fseeko
|
||||||
# define ftell ftello
|
# define ftell ftello
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#if defined(WIN32) && !defined(Windows95) && !defined(__BORLANDC__) && \
|
#if defined(WIN32) && !defined(Windows95) && !defined(__BORLANDC__) && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user