diff options
Diffstat (limited to 'mysys/my_chsize.c')
-rw-r--r-- | mysys/my_chsize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_chsize.c b/mysys/my_chsize.c index 5708ac5b253..e8c3c056029 100644 --- a/mysys/my_chsize.c +++ b/mysys/my_chsize.c @@ -67,7 +67,7 @@ int my_chsize(File fd, my_off_t newlength, int filler, myf MyFlags) my_error(EE_CANT_CHSIZE,MYF(ME_BELL+ME_WAITTANG),errno); DBUG_RETURN(1); } -#elif define(HAVE_CHSIZE) +#elif defined(HAVE_CHSIZE) if (oldsize > newlength || filler == 0) { if (chsize(fd,(off_t) newlength)) |