ソースを参照

Merge pull request #2537 from richardkchapman/mac_build_error

Mac build error

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 13 年 前
コミット
d741275e84
1 ファイル変更1 行追加1 行削除
  1. 1 1
      common/remote/hooks/libarchive/archive.cpp

+ 1 - 1
common/remote/hooks/libarchive/archive.cpp

@@ -391,7 +391,7 @@ static IFile *createIFileInArchive(const char *containedFileName)
         // Create an IFile representing the root of the archive as a directory
         struct archive_entry *rootEntry = archive_entry_new();
         archive_entry_set_pathname(rootEntry, ".");
-        archive_entry_set_mode(rootEntry, __S_IFDIR);
+        archive_entry_set_mode(rootEntry, S_IFDIR);
         archive_entry_set_size(rootEntry, 0);
         return new ArchiveFile(containedFileName, new ArchiveEntry(rootEntry));
     }