[trunk] Avoid conflicting declarion for fseek in openjp2 vs fseek in openjpip
This commit is contained in:
parent
3ecccb7410
commit
9863d8d1d2
|
@ -56,10 +56,12 @@
|
||||||
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)
|
#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…
Reference in New Issue