X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fio.h;h=a1e4c6bd9876f3d33ea46a1e8ffc401fd9a6e3c1;hb=dd4af9ab4aa5e39ff3db44466b07b0c119b8aa21;hp=aa36f936f640763e25810404eb2543bef875ecd8;hpb=6e1e67a5221c1c31c8dffe8705e6a450f302ba8b;p=libucw.git diff --git a/ucw/io.h b/ucw/io.h index aa36f936..a1e4c6bd 100644 --- a/ucw/io.h +++ b/ucw/io.h @@ -7,13 +7,13 @@ * of the GNU Lesser General Public License. */ -#ifndef _UCW_LFS_H -#define _UCW_LFS_H +#ifndef _UCW_IO_H +#define _UCW_IO_H #include #include -#ifdef CONFIG_LFS +#ifdef CONFIG_UCW_LARGE_FILES #define ucw_open open64 #define ucw_seek lseek64 @@ -27,7 +27,7 @@ #define ucw_fstat fstat64 typedef struct stat64 ucw_stat_t; -#else /* !CONFIG_LFS */ +#else /* !CONFIG_UCW_LARGE_FILES */ #define ucw_open open #define ucw_seek(f,o,w) lseek(f,o,w) @@ -39,7 +39,7 @@ typedef struct stat64 ucw_stat_t; #define ucw_fstat fstat typedef struct stat ucw_stat_t; -#endif /* !CONFIG_LFS */ +#endif /* !CONFIG_UCW_LARGE_FILES */ #if defined(_POSIX_SYNCHRONIZED_IO) && (_POSIX_SYNCHRONIZED_IO > 0) #define ucw_fdatasync fdatasync @@ -67,4 +67,4 @@ int careful_write(int fd, const void *buf, int len); void sync_dir(const char *name); -#endif /* !_UCW_LFS_H */ +#endif /* !_UCW_IO_H */