aboutsummaryrefslogtreecommitdiff
path: root/lib/olm/errors.cpp
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-01-24 17:59:31 +0100
committerTobias Fella <fella@posteo.de>2021-12-01 21:34:52 +0100
commit5b072f7d2519df4c60cc6ae4ce728e99a09d8d44 (patch)
treef0ccf309a3ebe0c2cccfc50d2f6d9b9076a97e3b /lib/olm/errors.cpp
parent8706c055e69b01097b702403aaa0d222e5ab0d29 (diff)
downloadlibquotient-5b072f7d2519df4c60cc6ae4ce728e99a09d8d44.tar.gz
libquotient-5b072f7d2519df4c60cc6ae4ce728e99a09d8d44.zip
ifdef everything
Diffstat (limited to 'lib/olm/errors.cpp')
-rw-r--r--lib/olm/errors.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/olm/errors.cpp b/lib/olm/errors.cpp
index fce177c6..a687e807 100644
--- a/lib/olm/errors.cpp
+++ b/lib/olm/errors.cpp
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: 2021 Carl Schwan <carlschwan@kde.org>
+// SPDX-License-Identifier: LGPL-2.1-or-later
+#ifdef Quotient_E2EE_ENABLED
#include "olm/errors.h"
Quotient::OlmError Quotient::fromString(const std::string &error_raw) {
@@ -15,3 +18,4 @@ Quotient::OlmError Quotient::fromString(const std::string &error_raw) {
return OlmError::Unknown;
}
}
+#endif