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

Commit5d76ea6

Browse files
committed
I have created a small patch that makes possible to compile pgsql on newer
Cygwin snapshots (tested on 990115 which is recommended to use - it fixessome errors in B20.1)And I have another patch for including <sys/ipc.h> before <sys/sem.h> inbackend/storage/lmgr/proc.c - it is required due the design of cygipcheaders Dan
1 parent987b1b9 commit5d76ea6

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

‎src/backend/storage/lmgr/proc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.57 1999/05/25 22:42:03 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.57.2.1 1999/10/12 14:55:00 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -46,15 +46,15 @@
4646
*This is so that we can support more backends. (system-wide semaphore
4747
*sets run out pretty fast.) -ay 4/95
4848
*
49-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.57 1999/05/25 22:42:03 momjian Exp $
49+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.57.2.1 1999/10/12 14:55:00 momjian Exp $
5050
*/
5151
#include<sys/time.h>
5252
#include<unistd.h>
5353
#include<string.h>
5454
#include<signal.h>
5555
#include<sys/types.h>
5656

57-
#if defined(solaris_sparc)
57+
#if defined(solaris_sparc)|| defined(__CYGWIN__)
5858
#include<sys/ipc.h>
5959
#include<sys/sem.h>
6060
#endif

‎src/include/port/win.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ typedef unsigned char slock_t;
99
#definetzname _tzname/* should be in time.h? */
1010
#defineUSE_POSIX_TIME
1111
#defineHAVE_INT_TIMEZONE/* has int _timezone */
12+
13+
#include<cygwin/version.h>
14+
#if (CYGWIN_VERSION_API_MAJOR >=0)&& (CYGWIN_VERSION_API_MINOR >=8)
15+
#definesys_nerr _sys_nerr
16+
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp