diff options
Diffstat (limited to 'mysys/my_lock.c')
-rw-r--r-- | mysys/my_lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_lock.c b/mysys/my_lock.c index c9e599904fa..54ec3838b58 100644 --- a/mysys/my_lock.c +++ b/mysys/my_lock.c @@ -212,7 +212,7 @@ int my_lock(File fd, int locktype, my_off_t start, my_off_t length, if (lockf(fd,locktype,length) != -1) DBUG_RETURN(0); #endif /* HAVE_FCNTL */ -#endif /* HAVE_LOCKING */ +#endif /* _WIN32 */ /* We got an error. We don't want EACCES errors */ my_errno=(errno == EACCES) ? EAGAIN : errno ? errno : -1; |