diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-07-31 19:29:07 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-07-31 19:29:07 +0200 |
commit | 0117a92fedc2e5294682127d54034af5b3f96c8e (patch) | |
tree | 0c075a3fa43f64a3895acc704bacf69a96afda14 /mysys/my_lock.c | |
parent | 42ea25d4c51b5466b4b03a29abe480e763732cf2 (diff) | |
download | mariadb-git-0117a92fedc2e5294682127d54034af5b3f96c8e.tar.gz |
MDEV-419 ensure that all HAVE_XXX constants can be set by cmake
add missing checks to configure.cmake
remove dead code and unused HAVE_xxx constants from the sources
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; |