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

Commite145891

Browse files
committed
Unbreak isolationtester on Win32
I broke it in a previous commit because I neglected to install thenecessary incantations to have getopt() work on Windows.Per red blots in buildfarm.
1 parente3e3087 commite145891

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎src/test/isolation/isolationtester.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
#ifndefWIN32
1515
#include<sys/time.h>
1616
#include<unistd.h>
17+
18+
#ifdefHAVE_GETOPT_H
19+
#include<getopt.h>
20+
#endif
21+
22+
#else
23+
intgetopt(intargc,char*constargv[],constchar*optstring);
1724
#endif/* ! WIN32 */
1825

1926
#ifdefHAVE_SYS_SELECT_H
@@ -25,6 +32,8 @@
2532

2633
#include"isolationtester.h"
2734

35+
externintoptind;
36+
2837
#definePREP_WAITING "isolationtester_waiting"
2938

3039
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp