mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
fixed compilation on debian squeeze. Removed placeHolder properties in CreateGxsForumMsg.ui and GxsGroupDialog.ui which need to be set in the cpp. Added a new DEFINE=NO_SQLCIPHER to compile without sqlcipher when sqlcipher cannot be found (no sqlcipher is available on debian squeeze).
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7941 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0d308ffa2e
commit
6585cfca2c
14 changed files with 75 additions and 32 deletions
|
@ -32,7 +32,10 @@
|
|||
#include "rsdbbind.h"
|
||||
|
||||
//#define RETRODB_DEBUG
|
||||
|
||||
#ifndef NO_SQLCIPHER
|
||||
#define ENABLE_ENCRYPTED_DB
|
||||
#endif
|
||||
|
||||
const int RetroDb::OPEN_READONLY = SQLITE_OPEN_READONLY;
|
||||
const int RetroDb::OPEN_READWRITE = SQLITE_OPEN_READWRITE;
|
||||
|
|
|
@ -24,7 +24,11 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef NO_SQLCIPHER
|
||||
#include <sqlite3.h>
|
||||
#else
|
||||
#include <sqlcipher/sqlite3.h>
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
#include <set>
|
||||
|
|
|
@ -26,7 +26,12 @@
|
|||
|
||||
#include <string>
|
||||
#include <inttypes.h>
|
||||
|
||||
#ifdef NO_SQLCIPHER
|
||||
#include <sqlite3.h>
|
||||
#else
|
||||
#include <sqlcipher/sqlite3.h>
|
||||
#endif
|
||||
|
||||
class RetroBind
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue