diff options
Diffstat (limited to 'mysys/my_lock.c')
-rw-r--r-- | mysys/my_lock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/my_lock.c b/mysys/my_lock.c index ed637648353..6486e07834b 100644 --- a/mysys/my_lock.c +++ b/mysys/my_lock.c @@ -33,9 +33,11 @@ #include <os2emx.h> #endif +#ifndef __EMX__ #ifdef HAVE_FCNTL static struct flock lock; /* Must be static for sun-sparc */ #endif +#endif /* Lock a part of a file */ |