#if SIZEOF_LONG == SIZEOF_LONG_LONG
-#define llseek lseek
+#define my_llseek lseek
#else /* SIZEOF_LONG != SIZEOF_LONG_LONG */
return (retval == -1 ? (ext2_loff_t) retval : result);
}
-#endif /* __alpha__ || __ia64__ */
+#endif /* SIZE_LONG == SIZEOF_LONG_LONG */
#endif /* HAVE_LLSEEK */
#endif /* defined(HAVE_LSEEK64) && defined(HAVE_LSEEK64_PROTOTYPE) */
ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin)
{
#if SIZEOF_OFF_T >= SIZEOF_LONG_LONG
- return lseek (fd, offset, origin);
+ return my_llseek (fd, offset, origin);
#else
ext2_loff_t result;
static int do_compat = 0;