Skip to content

Commit

Permalink
Use alternative name for AKONADI_VERSION
Browse files Browse the repository at this point in the history
Some older variants of akonadi_version.h seem to use a different name
for the version definition.
  • Loading branch information
KrissN committed Oct 26, 2016
1 parent 5bd6e48 commit 722731b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ewsmtaresource.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
#include <AkonadiAgentBase/TransportResourceBase>
#include <AkonadiCore/Item>

// Some older variants of akonadi_version.h use a different name
#ifndef AKONADI_VERSION
#define AKONADI_VERSION AKONADILIBRARIES_VERSION
#endif

class OrgKdeAkonadiEwsResourceInterface;

class EwsMtaResource : public Akonadi::ResourceBase, public Akonadi::TransportResourceBase
Expand Down
5 changes: 5 additions & 0 deletions ewsresource.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@

#include "config.h"

// Some older variants of akonadi_version.h use a different name
#ifndef AKONADI_VERSION
#define AKONADI_VERSION AKONADILIBRARIES_VERSION
#endif

class FetchItemState;
class EwsGetItemRequest;
class EwsFindFolderRequest;
Expand Down

0 comments on commit 722731b

Please sign in to comment.