missing typename
unix -> posix
@@ -274,7 +274,7 @@ | ||
274 | 274 | void select_entry(const Path& ph) |
275 | 275 | { |
276 | 276 | typedef std::vector<zip_internal_header<Path> > headers_type; |
277 | - typedef headers_type::const_iterator iter_type; | |
277 | + typedef typename headers_type::const_iterator iter_type; | |
278 | 278 | |
279 | 279 | iter_type pos = std::find_if( |
280 | 280 | headers_.begin(), headers_.end(), zip::header_path_match(ph)); |
@@ -367,7 +367,7 @@ | ||
367 | 367 | zip_internal_header<Path> head; |
368 | 368 | head.os = static_cast<boost::uint8_t>(file_head.made_by >> 8); |
369 | 369 | // compatibility for Explzh and Archive Utility |
370 | - if (head.os == zip::os::unix) | |
370 | + if (head.os == zip::os::posix) | |
371 | 371 | head.utf8_encoded = true; |
372 | 372 | head.version = |
373 | 373 | static_cast<boost::uint8_t>(file_head.needed_to_extract); |
@@ -36,7 +36,7 @@ | ||
36 | 36 | struct os |
37 | 37 | { |
38 | 38 | static const boost::uint8_t ms_dos = 0x00; // NTFS for PKZIP |
39 | - static const boost::uint8_t unix = 0x03; // includes Mac OS X | |
39 | + static const boost::uint8_t posix = 0x03; // includes Mac OS X | |
40 | 40 | static const boost::uint8_t winnt = 0x0B; // used by Info-ZIP, MS |
41 | 41 | }; |
42 | 42 |