Commit bcf6308b authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Fix compilation with clang

Summary: libkexiv2/src/kexiv2_p.cpp:726:9: error: token is not a valid binary operator in a preprocessor subexpression

Test Plan: Builds

Reviewers: #frameworks, cgilles, kfunk

Reviewed By: kfunk

Subscribers: kfunk

Differential Revision: https://phabricator.kde.org/D4179
parent ecd98aa5
......@@ -49,7 +49,7 @@ extern "C"
#include "libkexiv2_debug.h"
// Pragma directives to reduce warnings from Exiv2.
#if not defined(__APPLE__) && defined(__GNUC__)
#if !defined(__APPLE__) && defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
......@@ -723,7 +723,7 @@ void KExiv2::Private::loadSidecarData(Exiv2::Image::AutoPtr xmpsidecar)
} // NameSpace KExiv2Iface
// Restore warnings
#if not defined(__APPLE__) && defined(__GNUC__)
#if !defined(__APPLE__) && defined(__GNUC__)
#pragma GCC diagnostic pop
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment