]> mj.ucw.cz Git - libucw.git/commitdiff
Renamed SHERLOCK_CONFIG_xxx to CONFIG_xxx to be consistent.
authorMartin Mares <mj@ucw.cz>
Fri, 28 Feb 2003 14:03:51 +0000 (14:03 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 28 Feb 2003 14:03:51 +0000 (14:03 +0000)
lib/config.h
lib/lfs.h

index 9e78579f65c0a15329f30d5f4f4b0ab64ed7aed8..31e61d5ee628ff3584eed6dd4c377697d115a0e5 100644 (file)
@@ -46,7 +46,7 @@ typedef u32 oid_t;                    /* Object ID */
 
 /* Data types and functions for accessing file positions */
 
-#ifdef SHERLOCK_CONFIG_LARGE_DB
+#ifdef CONFIG_LARGE_DB
 typedef s64 sh_off_t;
 #define BYTES_PER_O 5
 #define BYTES_PER_P 8
index 4be56b71a1e8f937f8c24ca160e9b49243373a8c..ee9b71b11c3d5f4aa2eeb3e8791b6bf3b0deebc3 100644 (file)
--- a/lib/lfs.h
+++ b/lib/lfs.h
@@ -13,7 +13,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 
-#ifdef SHERLOCK_CONFIG_LFS
+#ifdef CONFIG_LFS
 
 #define sh_open open64
 #define sh_seek lseek64
@@ -24,7 +24,7 @@
 #define sh_pread pread64
 #define sh_pwrite pwrite64
 
-#else  /* !SHERLOCK_CONFIG_LFS */
+#else  /* !CONFIG_LFS */
 
 #define sh_open open
 #define sh_seek(f,o,w) lseek(f,o,w)
@@ -33,7 +33,7 @@
 #define sh_pread pread
 #define sh_pwrite pwrite
 
-#endif /* !SHERLOCK_CONFIG_LFS */
+#endif /* !CONFIG_LFS */
 
 #define SHERLOCK_HAVE_PREAD