Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ctapmex committed Sep 21, 2024
1 parent 9da3ba7 commit b52adb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/colorer/xml/libxml2/LibXmlReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

#ifdef COLORER_FEATURE_ZIPINPUTSOURCE
#include "colorer/zip/MemoryFile.h"

uUnicodeString LibXmlReader::current_file = nullptr;
bool LibXmlReader::is_full_path = false;
#endif

#ifdef _MSC_VER
#define strdup(p) _strdup(p)
#endif

uUnicodeString LibXmlReader::current_file = nullptr;
bool LibXmlReader::is_full_path = false;

LibXmlReader::LibXmlReader(const UnicodeString& source_file) : xmldoc(nullptr)
{
xmlSetExternalEntityLoader(xmlMyExternalEntityLoader);
Expand Down

0 comments on commit b52adb1

Please sign in to comment.