@@ -226,7 +226,7 @@ void archiveConfig(std::ostream & ostream, const Config & config, const char * c
226
226
std::string configStr = ss.str ();
227
227
228
228
// Write zip to memory stream.
229
- #if MZ_VERSION_BUILD >= 040000
229
+ #if MZ_VERSION_BUILD >= 0x040000
230
230
write_mem_stream = mz_stream_mem_create ();
231
231
#else
232
232
mz_stream_mem_create (&write_mem_stream);
@@ -242,7 +242,7 @@ void archiveConfig(std::ostream & ostream, const Config & config, const char * c
242
242
options.compress_level = ArchiveCompressionLevels::BEST;
243
243
244
244
// Create the writer handle.
245
- #if MZ_VERSION_BUILD >= 040000
245
+ #if MZ_VERSION_BUILD >= 0x040000
246
246
archiver = mz_zip_writer_create ();
247
247
#else
248
248
mz_zip_writer_create (&archiver);
@@ -341,7 +341,7 @@ void ExtractOCIOZArchive(const char * archivePath, const char * destination)
341
341
std::string outputDestination = pystring::os::path::normpath (destination);
342
342
343
343
// Create zip reader.
344
- #if MZ_VERSION_BUILD >= 040000
344
+ #if MZ_VERSION_BUILD >= 0x040000
345
345
extracter = mz_zip_reader_create ();
346
346
#else
347
347
mz_zip_reader_create (&extracter);
@@ -463,7 +463,7 @@ std::vector<uint8_t> getFileStringFromArchiveFile(const std::string & filepath,
463
463
std::vector<uint8_t > buffer;
464
464
465
465
// Create the reader object.
466
- #if MZ_VERSION_BUILD >= 040000
466
+ #if MZ_VERSION_BUILD >= 0x040000
467
467
reader = mz_zip_reader_create ();
468
468
#else
469
469
mz_zip_reader_create (&reader);
@@ -527,7 +527,7 @@ void getEntriesMappingFromArchiveFile(const std::string & archivePath,
527
527
void *reader = NULL ;
528
528
529
529
// Create the reader object.
530
- #if MZ_VERSION_BUILD >= 040000
530
+ #if MZ_VERSION_BUILD >= 0x040000
531
531
reader = mz_zip_reader_create ();
532
532
#else
533
533
mz_zip_reader_create (&reader);
0 commit comments