Skip to content

Commit

Permalink
myseek: AIX has no "tell"
Browse files Browse the repository at this point in the history
AIX detects tell in the configure however
it really isn't there. Use the my_seek aka lseek
implementation.
  • Loading branch information
grooverdan committed Mar 19, 2021
1 parent b34bb81 commit 4ca4d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysys/my_seek.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ my_off_t my_tell(File fd, myf MyFlags)
DBUG_ENTER("my_tell");
DBUG_PRINT("my",("fd: %d MyFlags: %lu",fd, MyFlags));
DBUG_ASSERT(fd >= 0);
#if defined (HAVE_TELL) && !defined (_WIN32)
#if defined (HAVE_TELL) && !defined (_WIN32) && !defined(_AIX)
pos= tell(fd);
#else
pos= my_seek(fd, 0L, MY_SEEK_CUR,0);
Expand Down

0 comments on commit 4ca4d60

Please sign in to comment.