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

Commita30c0a5

Browse files
committed
Not sure why I do that, but fix cmocka tests.
1 parent7954c34 commita30c0a5

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

‎tests/cmocka/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CFLAGS += $(shell $(PG_CONFIG) --cflags_sl)
88
CFLAGS +=$(shell$(PG_CONFIG) --cflags)
99
CFLAGS +=$(CFLAGS_SL)
1010
CFLAGS +=$(PG_CPPFLAGS)
11+
CFLAGS += -D_GNU_SOURCE
1112
LDFLAGS += -lcmocka
1213
TEST_BIN = rangeset_tests
1314

‎tests/cmocka/missing_basic.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include<stdio.h>
22

33
#include"postgres.h"
4+
#include"undef_printf.h"
45

56

67
void*

‎tests/cmocka/missing_bitmapset.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include"postgres.h"
2+
#include"undef_printf.h"
23
#include"nodes/bitmapset.h"
34

45

‎tests/cmocka/missing_list.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
16+
#define_GNU_SOURCE
1617
#include"postgres.h"
1718
#include"nodes/pg_list.h"
1819

‎tests/cmocka/missing_stringinfo.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
*-------------------------------------------------------------------------
1515
*/
1616
#include"postgres.h"
17+
#include"undef_printf.h"
1718

1819
#include"lib/stringinfo.h"
1920
#include"utils/memutils.h"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp