Mercurial > hg > xemacs-beta
comparison src/sysfile.h @ 359:8e84bee8ddd0 r21-1-9
Import from CVS: tag r21-1-9
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:57:55 +0200 |
parents | e11d67e05968 |
children | cc15677e0335 |
comparison
equal
deleted
inserted
replaced
358:fed6e0f6a03a | 359:8e84bee8ddd0 |
---|---|
364 #endif | 364 #endif |
365 #if !defined (ENCAPSULATE_READLINK) && defined (DONT_ENCAPSULATE) | 365 #if !defined (ENCAPSULATE_READLINK) && defined (DONT_ENCAPSULATE) |
366 # define sys_readlink readlink | 366 # define sys_readlink readlink |
367 #endif | 367 #endif |
368 | 368 |
369 #ifdef ENCAPSULATE_FSTAT | |
370 int sys_fstat (int fd, struct stat *buf); | |
371 #endif | |
372 #if defined (ENCAPSULATE_FSTAT) && !defined (DONT_ENCAPSULATE) | |
373 # undef fstat | |
374 /* Need to use arguments to avoid messing with struct stat */ | |
375 # define fstat(fd, buf) sys_fstat (fd, buf) | |
376 #endif | |
377 #if !defined (ENCAPSULATE_FSTAT) && defined (DONT_ENCAPSULATE) | |
378 # define sys_fstat fstat | |
379 #endif | |
380 | |
369 #ifdef ENCAPSULATE_STAT | 381 #ifdef ENCAPSULATE_STAT |
370 int sys_stat (CONST char *path, struct stat *buf); | 382 int sys_stat (CONST char *path, struct stat *buf); |
371 #endif | 383 #endif |
372 #if defined (ENCAPSULATE_STAT) && !defined (DONT_ENCAPSULATE) | 384 #if defined (ENCAPSULATE_STAT) && !defined (DONT_ENCAPSULATE) |
373 # undef stat | 385 # undef stat |