Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit79cf726

Browse files
committed
Fix Bug: add MEMORY_DATABASE_ENABLE macro and include stdbool.h when compiling on windows.
1 parentbb9bedd commit79cf726

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

‎apache2/ag_mdb/ag_mdb_external.h‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#ifndef_AG_MDB_EXTERNAL_HEADER
22
#define_AG_MDB_EXTERNAL_HEADER
33

4-
5-
#ifndef_WIN32
64
#include"stdbool.h"
7-
#else
5+
#ifdef_WIN32
86
#ifdefinline
97
#undef inline
108
#endif
@@ -309,6 +307,7 @@ const char* AGMDB_getErrorInfo(int return_code);
309307
False if not.
310308
*/
311309
boolAGMDB_isError(intreturn_code);
310+
312311
/**
313312
** Get the number of keys in a database.
314313
** You have to get SHARED or EXCLUSIVE LOCK of the database before calling this function.

‎iis/Makefile.win‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ INCLUDES = $(INCLUDES) -I$(YAJL)\include -I$(YAJL) \
6262
# DEFS=$(DEFS) -DWITH_SSDEEP
6363
# INCLUDES = $(INCLUDES) -I$(SSDEEP)\include -I$(SSDEEP) \
6464
# !ENDIF
65-
66-
67-
65+
66+
# Enable support for collection's memory database
67+
DEFS=$(DEFS) -DMEMORY_DATABASE_ENABLE
6868

6969
CFLAGS= -MD /Zi $(INCLUDES) $(DEFS)
7070

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp