]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/partmap.c
Merge branch 'dev-lib'
[libucw.git] / ucw / partmap.c
index ed74df363219608c6c58b60e0da0f047aaa85c28..962b04bfefa00096371bec672894850a61ab906c 100644 (file)
@@ -19,7 +19,7 @@
 #include <sys/stat.h>
 #include <sys/mman.h>
 
-#ifdef CONFIG_PARTMAP_IS_MMAP
+#ifdef CONFIG_UCW_PARTMAP_IS_MMAP
 #define PARTMAP_WINDOW ~(size_t)0
 #else
 #ifdef TEST
@@ -40,7 +40,7 @@ partmap_open(char *name, int writeable)
   if ((p->file_size = ucw_seek(p->fd, 0, SEEK_END)) < 0)
     die("lseek(%s): %m", name);
   p->writeable = writeable;
-#ifdef CONFIG_PARTMAP_IS_MMAP
+#ifdef CONFIG_UCW_PARTMAP_IS_MMAP
   partmap_load(p, 0, p->file_size);
 #endif
   return p;