src/pEp_internal.h
branchENGINE-524
changeset 3638 4ba9bd8b80c1
parent 3540 8b1730bcb3e0
child 3735 25b31318dcdc
     1.1 --- a/src/pEp_internal.h	Mon May 06 15:44:27 2019 +0200
     1.2 +++ b/src/pEp_internal.h	Mon May 06 17:52:20 2019 +0200
     1.3 @@ -56,6 +56,7 @@
     1.4  
     1.5  #ifdef WIN32
     1.6  #define LOCAL_DB windoze_local_db()
     1.7 +#define LOCAL_KEYS_DB windoze_local_db()
     1.8  #define SYSTEM_DB windoze_system_db()
     1.9  #define LIBGPGME "libgpgme-11.dll"
    1.10  #else // UNIX
    1.11 @@ -63,11 +64,17 @@
    1.12  #include <dlfcn.h>
    1.13  #ifdef NDEBUG
    1.14  #define LOCAL_DB unix_local_db()
    1.15 +#define LOCAL_KEYS_DB unix_local_keys_db()
    1.16  #else
    1.17  #define LOCAL_DB unix_local_db(false)
    1.18 +#define LOCAL_KEYS_DB unix_local_keys_db(false)
    1.19  #endif
    1.20  #ifndef SYSTEM_DB
    1.21 -#define SYSTEM_DB "/usr/share/pEp/system.db"
    1.22 +#ifdef NDEBUG
    1.23 +#define SYSTEM_DB unix_system_db()
    1.24 +#else
    1.25 +#define SYSTEM_DB unix_system_db(false)
    1.26 +#endif
    1.27  #endif
    1.28  #ifndef LIBGPGME
    1.29  #define LIBGPGME "libgpgme-pthread.so"