comparison src/s/ms-w32.h @ 24675:45917c73cff6

(HAVE_FSYNC): New macro. (fsync): Map to _commit. (ftruncate): Map to _chsize.
author Andrew Innes <andrewi@gnu.org>
date Sun, 02 May 1999 10:36:23 +0000
parents b2aa39f6d923
children 8844e3f055f2
comparison
equal deleted inserted replaced
24674:d0dee612f8e3 24675:45917c73cff6
235 #define HAVE_GETHOSTNAME 1 235 #define HAVE_GETHOSTNAME 1
236 #undef HAVE_GETDOMAINNAME 236 #undef HAVE_GETDOMAINNAME
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
243 #define HAVE_TZNAME 1 244 #define HAVE_TZNAME 1
244 245
350 #define fdopen _fdopen 351 #define fdopen _fdopen
351 #define fgetchar _fgetchar 352 #define fgetchar _fgetchar
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
358 #define logb _logb 361 #define logb _logb
359 #define _longjmp longjmp 362 #define _longjmp longjmp