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:
parent
96ef6ea293
commit
4b98cd4012
@ -27,6 +27,9 @@
|
||||
#include "wx/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 "wx/gtk/private/error.h"
|
||||
|
Loading…
Reference in New Issue
Block a user