Mercurial > hg > xemacs-beta
comparison src/sysfile.h @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | 8e84bee8ddd0 |
children | 8626e4521993 |
comparison
equal
deleted
inserted
replaced
370:bd866891f083 | 371:cc15677e0335 |
---|---|
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 | |
381 #ifdef ENCAPSULATE_STAT | 369 #ifdef ENCAPSULATE_STAT |
382 int sys_stat (CONST char *path, struct stat *buf); | 370 int sys_stat (CONST char *path, struct stat *buf); |
383 #endif | 371 #endif |
384 #if defined (ENCAPSULATE_STAT) && !defined (DONT_ENCAPSULATE) | 372 #if defined (ENCAPSULATE_STAT) && !defined (DONT_ENCAPSULATE) |
385 # undef stat | 373 # undef stat |