File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
#ifndef _AG_MDB_EXTERNAL_HEADER
2
2
#define _AG_MDB_EXTERNAL_HEADER
3
3
4
-
5
- #ifndef _WIN32
6
4
#include "stdbool.h"
7
- #else
5
+ #ifdef _WIN32
8
6
#ifdef inline
9
7
#undef inline
10
8
#endif
@@ -309,6 +307,7 @@ const char* AGMDB_getErrorInfo(int return_code);
309
307
False if not.
310
308
*/
311
309
bool AGMDB_isError (int return_code );
310
+
312
311
/**
313
312
** Get the number of keys in a database.
314
313
** You have to get SHARED or EXCLUSIVE LOCK of the database before calling this function.
Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ INCLUDES = $(INCLUDES) -I$(YAJL)\include -I$(YAJL) \
62
62
# DEFS=$(DEFS) -DWITH_SSDEEP
63
63
# INCLUDES = $(INCLUDES) -I$(SSDEEP)\include -I$(SSDEEP) \
64
64
# !ENDIF
65
-
66
-
67
-
65
+
66
+ # Enable support for collection's memory database
67
+ DEFS=$(DEFS) -DMEMORY_DATABASE_ENABLE
68
68
69
69
CFLAGS= -MD /Zi $(INCLUDES) $(DEFS)
70
70
You can’t perform that action at this time.
0 commit comments