diff options
| author | Andrew Innes | 1999-05-02 10:36:23 +0000 |
|---|---|---|
| committer | Andrew Innes | 1999-05-02 10:36:23 +0000 |
| commit | a5a7d30fe9b1bcb6648f7a15e8a26ff4199a546b (patch) | |
| tree | 7f8ba64728500b75aaf72a0863ac60556937d3fa | |
| parent | e12ca9c2ece5970bb6b131f1705d648ebddd7e2b (diff) | |
| download | emacs-a5a7d30fe9b1bcb6648f7a15e8a26ff4199a546b.tar.gz emacs-a5a7d30fe9b1bcb6648f7a15e8a26ff4199a546b.zip | |
(HAVE_FSYNC): New macro.
(fsync): Map to _commit.
(ftruncate): Map to _chsize.
| -rw-r--r-- | src/s/ms-w32.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h index f3db0c54275..bbbc33d4a0d 100644 --- a/src/s/ms-w32.h +++ b/src/s/ms-w32.h | |||
| @@ -237,6 +237,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 237 | #define HAVE_DUP2 1 | 237 | #define HAVE_DUP2 1 |
| 238 | #define HAVE_RENAME 1 | 238 | #define HAVE_RENAME 1 |
| 239 | #define HAVE_CLOSEDIR 1 | 239 | #define HAVE_CLOSEDIR 1 |
| 240 | #define HAVE_FSYNC 1 /* fsync is called _commit in MSVC. */ | ||
| 240 | 241 | ||
| 241 | #undef TM_IN_SYS_TIME | 242 | #undef TM_IN_SYS_TIME |
| 242 | #undef HAVE_TM_ZONE | 243 | #undef HAVE_TM_ZONE |
| @@ -352,6 +353,8 @@ Boston, MA 02111-1307, USA. */ | |||
| 352 | #define fileno _fileno | 353 | #define fileno _fileno |
| 353 | #define flushall _flushall | 354 | #define flushall _flushall |
| 354 | #define fputchar _fputchar | 355 | #define fputchar _fputchar |
| 356 | #define fsync _commit | ||
| 357 | #define ftruncate _chsize | ||
| 355 | #define getw _getw | 358 | #define getw _getw |
| 356 | #define getpid _getpid | 359 | #define getpid _getpid |
| 357 | #define isatty _isatty | 360 | #define isatty _isatty |