compiles under ubuntu 18.04

This commit is contained in:
Victor Haefner
2018-06-08 15:25:33 +03:00
committed by Thomas Krijnen
parent 4cfb2f1027
commit 11d0c6ef56
2 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -70,6 +70,10 @@
using namespace IfcParse;
using namespace IfcWrite;
#ifdef HAVE_ICU
#include <unicode/unistr.h>
#endif
void IfcCharacterDecoder::addChar(std::stringstream& s,const UChar32& ch) {
#ifdef HAVE_ICU
if ( destination ) {
@@ -386,4 +390,4 @@ IfcCharacterEncoder::operator std::string() {
#ifdef HAVE_ICU
UErrorCode IfcCharacterEncoder::status = U_ZERO_ERROR;
UConverter* IfcCharacterEncoder::converter = 0;
#endif
#endif