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

Commite9ec104

Browse files
committed
Use <> not "" for include of pthread.h.
1 parent6e7dd37 commite9ec104

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎src/interfaces/libpq/pthread-win32.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
*
66
* Copyright (c) 2004, PostgreSQL Global Development Group
77
* IDENTIFICATION
8-
*$PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.2 2004/08/29 05:07:00 momjian Exp $
8+
*$PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.3 2004/09/26 01:40:53 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
1212

1313

14-
#include"windows.h"
15-
#include"pthread.h"
14+
#include<windows.h>
15+
#include<pthread.h>
1616

1717
HANDLE
1818
pthread_self()

‎src/tools/thread/thread_test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
*$PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.33 2004/08/29 05:07:03 momjian Exp $
9+
*$PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.34 2004/09/26 01:40:55 momjian Exp $
1010
*
1111
*This program tests to see if your standard libc functions use
1212
*pthread_setspecific()/pthread_getspecific() to be thread-safe.
@@ -59,7 +59,7 @@ main(int argc, char *argv[])
5959
#else
6060

6161
/* This must be down here because this is the code that uses threads. */
62-
#include"pthread.h"
62+
#include<pthread.h>
6363

6464
voidfunc_call_1(void);
6565
voidfunc_call_2(void);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp