fetch-pack: eliminate spurious error messages
[gitweb.git] / builtin / index-pack.c
index 50d38767b1275849bb000ec7da4c487d187ad77f..953dd3004e285ce7aa0432f4fe0eacb0d0c2c887 100644 (file)
@@ -40,8 +40,8 @@ struct base_data {
        int ofs_first, ofs_last;
 };
 
-#if !defined(NO_PTHREADS) && defined(NO_PREAD)
-/* NO_PREAD uses compat/pread.c, which is not thread-safe. Disable threading. */
+#if !defined(NO_PTHREADS) && defined(NO_THREAD_SAFE_PREAD)
+/* pread() emulation is not thread-safe. Disable threading. */
 #define NO_PTHREADS
 #endif