Minor Win32 compilation fix.

This commit is contained in:
Sam Hocevar
2009-12-12 22:19:57 +00:00
committed by sam
parent 606d50b39f
commit 28d017a2ec
+3
View File
@@ -178,6 +178,7 @@ static inline uint8_t *get_stream_ptr(FILE *stream)
#if defined HAVE_BSD_STDIO
return (uint8_t *)stream->FILE_PTR;
#else
(void)stream;
return NULL;
#endif
}
@@ -187,6 +188,7 @@ static inline int get_stream_off(FILE *stream)
#if defined HAVE_BSD_STDIO
return (int)((uint8_t *)stream->FILE_PTR - (uint8_t *)stream->FILE_BASE);
#else
(void)stream;
return 0;
#endif
}
@@ -198,6 +200,7 @@ static inline int get_stream_cnt(FILE *stream)
#elif defined HAVE_BSD_STDIO
return stream->FILE_CNT;
#else
(void)stream;
return 0;
#endif
}