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

Commitbb9bedd

Browse files
committed
Fix Bug: Un-define inline before including windows.h when building the modsecurity iis module.
1 parent0ecb257 commitbb9bedd

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

‎apache2/ag_mdb/ag_mdb_external.h‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
#ifndef_AG_MDB_EXTERNAL_HEADER
22
#define_AG_MDB_EXTERNAL_HEADER
33

4-
#ifdef__cplusplus
5-
extern"C" {
6-
#endif
74

85
#ifndef_WIN32
96
#include"stdbool.h"
107
#else
8+
#ifdefinline
9+
#undef inline
10+
#endif
1111
#include<windows.h>
1212
#endif
1313

14+
#ifdef__cplusplus
15+
extern"C" {
16+
#endif
17+
1418
/**
1519
**========================================================
1620
** AG Memory Database Limitation Definition

‎apache2/ag_mdb/ag_mdb_internal.h‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#ifndef_AG_MDB_INTERNAL_HEADER
22
#define_AG_MDB_INTERNAL_HEADER
3+
4+
#ifdef_WIN32
35
#ifdefinline
46
#undef inline
57
#endif
6-
#ifdef_WIN32
7-
#include<windows.h>
8+
#include<windows.h>
89
#include<Synchapi.h>
910
#else
1011
#include<sys/shm.h>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp