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

Commit31cae34

Browse files
committed
multiple define of 'union semun' removed
submitted by: dr. george
1 parentfd35587 commit31cae34

File tree

2 files changed

+3
-22
lines changed

2 files changed

+3
-22
lines changed

‎src/backend/storage/ipc/ipc.c

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.2 1996/07/20 08:35:52 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.3 1996/07/25 19:45:24 scrappy Exp $
1111
*
1212
* NOTES
1313
*
@@ -47,16 +47,6 @@ int UsePrivateMemory = 1;
4747
intUsePrivateMemory=0;
4848
#endif
4949

50-
#if defined(PORTNAME_bsdi)||defined(PORTNAME_i386_solaris)
51-
/* hacka, hacka, hacka (XXX) */
52-
unionsemun {
53-
intval;/* value for SETVAL */
54-
structsemid_ds*buf;/* buffer for IPC_STAT & IPC_SET */
55-
ushort*array;/* array for GETALL & SETALL */
56-
};
57-
#endif
58-
59-
6050
/* ----------------------------------------------------------------
6151
*exit() handling stuff
6252
* ----------------------------------------------------------------

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

Lines changed: 2 additions & 11 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.2 1996/07/20 08:35:58 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.3 1996/07/25 19:45:31 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -46,7 +46,7 @@
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.2 1996/07/20 08:35:58 scrappy Exp $
49+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.3 1996/07/25 19:45:31 scrappy Exp $
5050
*/
5151
#include<sys/time.h>
5252
#ifndefWIN32
@@ -56,15 +56,6 @@
5656
#include<sys/types.h>
5757
#include"libpq/pqsignal.h"/* substitute for <signal.h> */
5858

59-
#if defined(PORTNAME_bsdi)||defined(PORTNAME_i386_solaris)
60-
/* hacka, hacka, hacka (XXX) */
61-
unionsemun {
62-
intval;/* value for SETVAL */
63-
structsemid_ds*buf;/* buffer for IPC_STAT & IPC_SET */
64-
ushort*array;/* array for GETALL & SETALL */
65-
};
66-
#endif
67-
6859
#include"access/xact.h"
6960
#include"utils/hsearch.h"
7061
#include"utils/elog.h"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp