[trunk] Avoid conflicting declarion for fseek in openjp2 vs fseek in openjpip

This commit is contained in:
Mathieu Malaterre 2014-03-03 08:49:28 +00:00
parent 3ecccb7410
commit 9863d8d1d2
1 changed files with 2 additions and 0 deletions

View File

@ -56,10 +56,12 @@
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)
# define fseek fseeko
# define ftell ftello
#endif
#endif
#if defined(WIN32) && !defined(Windows95) && !defined(__BORLANDC__) && \