summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/IDN/PlatformIDNConverter.cpp')
-rw-r--r--Swiften/IDN/PlatformIDNConverter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Swiften/IDN/PlatformIDNConverter.cpp b/Swiften/IDN/PlatformIDNConverter.cpp
index c85d3b6..c6104fb 100644
--- a/Swiften/IDN/PlatformIDNConverter.cpp
+++ b/Swiften/IDN/PlatformIDNConverter.cpp
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2012-2016 Isode Limited.
+ * Copyright (c) 2012-2018 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#include <Swiften/IDN/PlatformIDNConverter.h>
@@ -19,11 +19,12 @@ IDNConverter* PlatformIDNConverter::create() {
#elif defined(HAVE_ICU)
return new ICUConverter();
#else
#if defined(NEED_IDN)
#error "No IDN implementation"
-#endif
+#else
return nullptr;
#endif
+#endif
}
}