Fix compilation with libsecret 0.16 from Ubuntu 14.04 LTS
This version of the library requires predefining a special symbol to obtain API declarations we need. See https://github.com/wxWidgets/wxWidgets/pull/290
This commit is contained in:
@@ -27,6 +27,9 @@
|
|||||||
#include "wx/secretstore.h"
|
#include "wx/secretstore.h"
|
||||||
#include "wx/private/secretstore.h"
|
#include "wx/private/secretstore.h"
|
||||||
|
|
||||||
|
// Older versions of libsecret, such as 0.16 from Ubuntu 14.04 LTS, require
|
||||||
|
// predefining this symbol in order to have access to the APIs we use below.
|
||||||
|
#define SECRET_API_SUBJECT_TO_CHANGE
|
||||||
#include <libsecret/secret.h>
|
#include <libsecret/secret.h>
|
||||||
|
|
||||||
#include "wx/gtk/private/error.h"
|
#include "wx/gtk/private/error.h"
|
||||||
|
Reference in New Issue
Block a user