Git 1.7.11.5
[gitweb.git] / builtin / index-pack.c
index dc2cfe6e6f63b6628f8a358f2f3b3e65c14e3b8d..470547835ca41888817b85dc4b7ed39273ede784 100644 (file)
@@ -39,8 +39,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