1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

support mingw32.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2000-05-13 16:13:31 +00:00
parent 9da4f78db4
commit 6d53b692ab
25 changed files with 327 additions and 228 deletions

View file

@ -28,6 +28,7 @@
#ifndef __DIR_INCLUDED
#define __DIR_INCLUDED
#if !defined __MINGW32__
/*Directory entry size */
#ifdef DIRSIZ
#undef DIRSIZ
@ -60,4 +61,5 @@ void seekdir(DIR *dirp,long loc);
void rewinddir(DIR *dirp);
void closedir(DIR *dirp);
#endif
#endif /* __DIR_INCLUDED */

View file

@ -126,7 +126,7 @@ flock(fd, operation)
return fcntl(fd, (operation & LOCK_NB) ? F_SETLK : F_SETLKW, &lock);
}
#else
#elif !defined NT
int
flock(fd, operation)
int fd;

View file

@ -101,7 +101,7 @@
#define __const
#endif /* People who don't like const sys_error */
#ifdef NT
#if defined NT && !defined __MINGW32__
typedef long size_t;
#endif