diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-13 08:59:36 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-13 08:59:36 +0000 |
| commit | 8258fe2f1edd827e6555b93b99d0585f64c0d0ac (patch) | |
| tree | 6d31e0f9480e4b84b0622d1487705f77a9f4416c /win32 | |
| parent | 447941db717dc53ad89bf639ea82707725090ef4 (diff) | |
| download | ruby-8258fe2f1edd827e6555b93b99d0585f64c0d0ac.tar.gz ruby-8258fe2f1edd827e6555b93b99d0585f64c0d0ac.tar.xz ruby-8258fe2f1edd827e6555b93b99d0585f64c0d0ac.zip | |
* configure.in, bcc32/Makefile.sub, win32/Makefile.sub: define
HAVE_FSYNC.
* win32/win32.h (fsync): define as _commit().
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/Makefile.sub | 1 | ||||
| -rw-r--r-- | win32/win32.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index b38087f97..af30debb0 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -253,6 +253,7 @@ config.h: #define HAVE_HYPOT 1 #define HAVE_MODF 1 #define HAVE_WAITPID 1 +#define HAVE_FSYNC 1 #define HAVE_CHSIZE 1 #define HAVE_TIMES 1 #define HAVE__SETJMP 1 diff --git a/win32/win32.h b/win32/win32.h index 48d2f1bea..976e8f36f 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -119,6 +119,7 @@ extern "C++" { #endif #define vsnprintf _vsnprintf #define snprintf _snprintf +#define fsync _commit #undef stat #define stat(path,st) rb_w32_stat(path,st) |
