comparison src/sysfile.h @ 432:3a7e78e1142d r21-2-24

Import from CVS: tag r21-2-24
author cvs
date Mon, 13 Aug 2007 11:29:58 +0200
parents 3ecd8885ac67
children 84b14dcb0985
comparison
equal deleted inserted replaced
431:a97165e56215 432:3a7e78e1142d
378 #endif 378 #endif
379 #if !defined (ENCAPSULATE_READLINK) && defined (DONT_ENCAPSULATE) 379 #if !defined (ENCAPSULATE_READLINK) && defined (DONT_ENCAPSULATE)
380 # define sys_readlink readlink 380 # define sys_readlink readlink
381 #endif 381 #endif
382 382
383 #ifdef ENCAPSULATE_FSTAT
384 int sys_fstat (int fd, struct stat *buf);
385 #endif
386 #if defined (ENCAPSULATE_FSTAT) && !defined (DONT_ENCAPSULATE)
387 # undef fstat
388 /* Need to use arguments to avoid messing with struct stat */
389 # define fstat(fd, buf) sys_fstat (fd, buf)
390 #endif
391 #if !defined (ENCAPSULATE_FSTAT) && defined (DONT_ENCAPSULATE)
392 # define sys_fstat fstat
393 #endif
394
383 #ifdef ENCAPSULATE_STAT 395 #ifdef ENCAPSULATE_STAT
384 int sys_stat (CONST char *path, struct stat *buf); 396 int sys_stat (CONST char *path, struct stat *buf);
385 #endif 397 #endif
386 #if defined (ENCAPSULATE_STAT) && !defined (DONT_ENCAPSULATE) 398 #if defined (ENCAPSULATE_STAT) && !defined (DONT_ENCAPSULATE)
387 # undef stat 399 # undef stat