Skip to content

Commit

Permalink
* configure.in (ac_cv_func_fcntl): fcntl support for MinGW.
Browse files Browse the repository at this point in the history
* missing/flock.c: workaround for MinGW.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eban committed Feb 28, 2007
1 parent 7f00593 commit fc16d95
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Wed Feb 28 21:15:00 2007 WATANABE Hirofumi <[email protected]>

* configure.in (ac_cv_func_fcntl): fcntl support for MinGW.

* missing/flock.c: workaround for MinGW.

Wed Feb 28 20:51:32 2007 URABE Shyouhei <[email protected]>

* pack.c (pack_unpack): properly ignore non-base64 octets such as
Expand Down
5 changes: 3 additions & 2 deletions missing/flock.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "config.h"

#if defined HAVE_FCNTL && defined HAVE_FCNTL_H
#if defined _WIN32
#elif defined HAVE_FCNTL && defined HAVE_FCNTL_H

/* These are the flock() constants. Since this sytems doesn't have
flock(), the values of the constants are probably not available.
Expand Down Expand Up @@ -118,7 +119,7 @@ flock(int fd, int operation)
return -1;
}
}
#elif !defined _WIN32
#else
int
flock(int fd, int operation)
{
Expand Down

0 comments on commit fc16d95

Please sign in to comment.